Tokens

Create a new access token

Create a new access token for either account-wide or project-specific access. Project tokens require a valid project slug.

POST
/api/tokens

Authorization

Authorization
header
string
required

Enter the team access token with the Bearer prefix, e.g. "Bearer team_access_token"

Bodyapplication/json

Token creation parameters

scope
string
required

Scope specifies the scope of the token, which must be either "team" or "project".

Available options:
projectteam
name
string

Name is the name of the token, which can be up to 64 characters long.

Examples:
My Token
project_id
string

ProjectId is required if the scope is set to "project".

Examples:
proj_A1cce6120E56e7Tu9ioP09Nhjk1

Responses

application/json
data
object
required

Data contains the response object

status
"success"
string
required

Status indicates the response status "success"

The token was created successfully