Skip to main content
POST
Create API key

Authorizations

Authorization
string
header
required

JWT token from Auth0

Path Parameters

account_id
string
required

Account's external ID (format: acct-xxx-v1)

Example:

"acct-xyz789-v1"

user_id
string
required

User's external ID (format: user-xxx-v1)

Example:

"user-abc123-v1"

Body

application/json
key_name
string
required

Display name for the API key

Example:

"Production API Key"

scopes
string[]

Permission scopes for the key

Example:

Response

API key created successfully

success
boolean
Example:

true

data
object