Skip to main content
POST
Create API key

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
label
string
required
Required string length: 1 - 255
scopes
string[]
required
Minimum array length: 1
expires_at
string<date-time> | null

Response

Successful response

id
string
required
label
string
required
key_preview
string
required
scopes
string[]
required
last_used_at
string | null
required
expires_at
string | null
required
revoked_at
string | null
required
created_at
string
required
key
string
required

Shown once; store it now.