Skip to content

API tokens

  1. Sign in to the Blotout platform.
  2. Open Team → API tokens and create a token.
  3. Select the policies the token needs. A token is bound to one team and carries only the policies you select.
  4. Copy the token. The platform shows it only once.

Send the token as a bearer token. GET /me confirms that the token works and returns the teamId that other operations need:

Terminal window
curl https://qinto-api.blotout.io/me \
--header "Authorization: Bearer $QINTO_API_TOKEN"

The response names the token and lists its team with the scopes it grants:

{
"tokenType": "api_token",
"name": "CI deploys",
"teams": [
{
"teamId": "7b8d1a52-6c1e-4b6f-9a30-2f8a54d1c3e9",
"name": "Acme",
"scopes": ["team:write"]
}
]
}