Skip to main content
POST
Create organization API key

Authorizations

Authorization
string
header
required

Bearer token: an organization API key (ak_…) created under Settings → API Keys, or a dashboard user session token. Proxy keys (xe_…) are not accepted here. Endpoints marked as user-only in their description reject organization keys with 403.

Headers

X-Request-ID
string | null

Path Parameters

org_id
string
required

Body

application/json
name
string
required
Required string length: 1 - 255
expires_in_days
enum<integer>
default:90
Available options:
30,
60,
90
scopes
enum<string>[]
Minimum array length: 1
Available options:
read,
write

Response

Successful Response

key
string
required
key_id
string
required
name
string | null
required
org_id
string<uuid>
required
expires_at
string<date-time> | null
scopes
string[]