API tokens
Create a team API token
Section titled “Create a team API token”- Sign in to the Blotout platform.
- Open Team → API tokens and create a token.
- Select the policies the token needs. A token is bound to one team and carries only the policies you select.
- Copy the token. The platform shows it only once.
Make your first call
Section titled “Make your first call”Send the token as a bearer token. GET /me confirms that the token works and returns the teamId that other operations
need:
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"] } ]}Next steps
Section titled “Next steps”- List the sites of your team with that
teamId. - Browse every operation in the API reference.