Skip to main content
POST
Create Api Key

Authorizations

X-API-Key
string
header
required

Body

application/json

Request schema for creating an API key.

name
string
required
Required string length: 1 - 255
scopes
string[] | null
expires_at
string<date-time> | null

Response

Successful Response

Response schema for API key.

id
string<uuid>
required
name
string
required
key_prefix
string
required
scopes
string[]
required
created_at
string<date-time>
required
key
string | null
expires_at
string<date-time> | null
last_used_at
string<date-time> | null