Skip to main content

Creates a new personal access token for the current user.

POST
/v1/tokens

The plaintext token value is returned only once, in this response's token field; it is not stored and cannot be retrieved again, so capture it immediately. Send it as a Bearer token to authenticate subsequent API requests.

Request

Responses

The token was created; the response contains the one-time plaintext value.