Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Path Parameters

type
enum<string>
required
Available options:
organisation,
workspace
sub-type
enum<string>
required
Available options:
user,
service

Body

application/json
name
string
required
scopes
string[]
required
description
string
organisation_id
string<uuid>
workspace_id
string
user_id
string<uuid>
rate_limits
object[] | null
usage_limits
object
defaults
object
alert_emails
string<email>[]
expires_at
string<date-time> | null
rotation_policy
object | null

Response

200 - application/json
id
string<uuid>
key
string
object
enum<string>
Available options:
api-key
Last modified on September 17, 2026