Create an API token

Creates a new API token for the organization. Only Admin users can create tokens. Super tokens must include the X-Org-Id header to specify which organization to operate on.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request payload for creating a new API token.

string

Optional description of the token's purpose.

string

Optional expiration time in RFC 3339 format (UTC). If omitted, the token does not expire.

string
required

A human-friendly name for the token.

string
enum
required

Access control role for an API token.

Allowed:
string

Optional workspace to scope this token to. Only valid for non-admin roles.

Headers
string

Organization ID — required when using a super token.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json