Skip to main content
POST
Create an API key

Authorizations

Authorization
string
header
required

Customer access token; current membership, role and app selection are enforced. Protected actions use recent email-code verification in the configured Sandbox or recent authenticator verification in legacy password mode. Available when customer authentication is enabled.

Headers

authorization
string | null

Path Parameters

tenant_id
string
required
app_id
string
required

Body

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

Response

Successful Response

app_id
string
required
created_at
string
required
created_by
string | null
required
environment
enum<string>
required
Available options:
sandbox,
live
expired
boolean
required
expires_at
string | null
required
id
string
required
label
string
required
last_used_at
string | null
required
note
string
required
prefix
string
required
replaced_by
string | null
required
revoked_at
string | null
required
scopes
string[]
required
secret
string
required
status
enum<string>
required
Available options:
active,
revoked
tenant_id
string
required
copy_available
boolean
default:false