Skip to main content
POST
Create API key

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Body

application/json
name
string
required

Human-readable name to identify this API key

Maximum string length: 200
expiresAt
string<date-time> | null

Optional expiration timestamp in ISO 8601 format

Response

Created

data
object
required

Created API key with the full key value — store it now, it won't be shown again