Skip to main content
POST
Create API token

Authorizations

Authorization
string
header
required

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

Body

application/json
role
enum<string>
required
Available options:
org_admin,
client
user_id
string<uuid>

ID of the user to create a token for. If not provided, the token will be created for the calling user. Only org_admin role can create tokens for other users.

description
string
Maximum string length: 500

Response

Token created successfully

token_id
string<uuid>
user_id
string<uuid>
role
enum<string>
Available options:
org_admin,
client
token
string
Example:

"ond.1_DEADBEEF"

description
string | null