Skip to main content
POST
Create a new API key

Authorizations

Authorization
string
header
required

JWT session token authentication. Use for user-context requests. The token is returned by the login endpoint and expires after 15 minutes.

Body

application/json
name
string
required
Required string length: 1 - 100
Example:

"Production API Key"

permissions
string[]
required
Example:
environment
enum<string>
default:production
Available options:
production,
staging
expiresAt
string<date-time>
rotationPolicy
object
rateLimit
object
ipWhitelist
string[]

Response

201 - application/json

API key created successfully

success
boolean
data
object