Skip to main content
POST
Create API key

Authorizations

X-API-KEY
string
header
required

Body

application/json
name
string
required

Human label for the key.

scopes
string[]
required

Scopes granted to the key. Must be a subset of the calling credential's own scopes.

expires_at
string<date-time> | null

Optional expiry; null for no expiry.

Response

Created key (raw key shown once)