Skip to main content
Create API key

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string<uuid>
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
name
string
required
scopes
enum<string>[]
required

At least one scope required

Available options:
admin,
workspace_admin,
api,
api_read,
auth,
auth_read
expired_at
string | null

Expiry date in dd-MM-yyyy format (e.g. "31-12-2024")

Example:

"31-12-2024"

Response

Created API key (key value shown once)

id
string<uuid>
Example:

"550e8400-e29b-41d4-a716-446655440000"

key
string

Raw API key value — shown once, store securely

Last modified on July 23, 2026