Create Developer Key
Create a new developer key for API authentication.Endpoint
Authentication
Requires valid JWT token withdeveloper role.
Headers
Bearer JWT access token
Must be “developer”
Existing developer key for authentication
Request Body
Optional descriptive name for the key (e.g., “Production API”, “Staging Environment”)
Response
Unique identifier for the developer key (UUID)
Descriptive name for the key
Full developer key - shown only once! Format:
ak_ + 32 URL-safe charactersFirst 8 characters of the key for identification (e.g.,
ak_abc12)Key status (always
true for new keys)ISO 8601 timestamp of key creation
Example Request
Example Response
List Developer Keys
Retrieve all active developer keys for the authenticated developer.Endpoint
Authentication
Requires valid JWT token withdeveloper role.
Headers
Bearer JWT access token
Must be “developer”
Existing developer key for authentication
Response
Returns an array of developer key objects (without full keys):Unique identifier for the developer key
Descriptive name for the key
First 8 characters for identification (e.g.,
ak_abc12)Key status (only active keys returned)
ISO 8601 timestamp of last usage (null if never used)
ISO 8601 timestamp of key creation
Example Request
Example Response
Revoke Developer Key
Revoke an active developer key. Revoked keys cannot be used for API authentication.Endpoint
Authentication
Requires valid JWT token withdeveloper role.
Headers
Bearer JWT access token
Must be “developer”
Existing developer key for authentication (different from the one being revoked)
Path Parameters
UUID of the developer key to revoke
Response
Returns204 No Content on success.
Error Responses
400 Bad Request- Key is already revoked403 Forbidden- Key does not belong to the authenticated developer404 Not Found- Key does not exist
Example Request
You cannot revoke the developer key you’re currently using for authentication. Use a different active key to revoke others.
Key Format
Developer keys use the following format: Prefix:ak_ (API Key - formerly dk_ for Developer Key)
Structure: ak_ + 32 URL-safe characters (alphanumeric + - + _)
Example: ak_abc123XYZ-_789def456ghi012jkl345
Total Length: 35 characters (3-char prefix + 32-char key)
Security Properties
- SHA-256 Hashing: Keys are hashed before storage
- Prefix Storage: Only first 8 characters stored as
key_prefixfor identification - One-Time Display: Full key shown only during creation
- Developer Scoping: Each key tied to specific developer account
- Revocation: Keys can be deactivated via DELETE endpoint
Key Limits
Attempting to create an 11th key returns:Best Practices
- Name Your Keys: Use descriptive names for easy identification
- Rotate Regularly: Create new keys and revoke old ones every 90 days
- Environment Separation: Use different keys for production, staging, development
- Immediate Revocation: Revoke compromised keys immediately
- Secure Storage: Store keys in environment variables, never in code

