v1

latestOpenAPI 3.0.02026-07-24990169.2 KB

Create API token

This endpoint will create a new API Token and show it in the response body. It is possible to create a comment with every token to have a reference where it is used. Make sure to save the token somewhere, since you won't be able to see it again. Requires scope auth:write.

post/auth/tokens

Request body

commentstring required

The comment can be everything. Tip: Use something to remember where this specific token is used.

scopesstring[]

Example request

{
  "comment": "Token for fun project"
}

Response

Successful