security
default

👤 Create a new Personal Access Token for the calling user and the specified account.

post/token/create

Request

Request body

accountinteger required

Account ID.

namestring required

Example request

{
  "account": 1,
  "name": "Release webhook"
}

Response

Value and ID of the generated Personal Access Token.

idinteger required

Token identifier - can be used in /token/{id} DELETE.

tokenstring required

Secret token - not stored server-side!

Example response

{
  "id": 1007,
  "token": "99129c581b6d2950233dac583629ba591319b2c6"
}

Changes

No recorded changes to this operation across all 70 revisions of this API.