Authenticating requests

To authenticate requests, include an Authorization header with the value "Bearer {YOUR_TEAM_TOKEN}".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

This API uses Team Command Token Authentication.
To authenticate, include your team command token in the Authorization header of every request, prefixed with Bearer.

Example header:

Authorization: Bearer {API_TOKEN}

Team command tokens are associated with your team account and provide access to all API endpoints.
You can obtain your team command token from your team administrator or through your team management dashboard.
Keep your token secure and never share it with unauthorized users.

Note: All API endpoints require authentication. Requests without a valid team token will be rejected.

If your token is missing, expired, or invalid, you will receive one of the following error responses:

HTTP/1.1 401 Unauthorized
Content-Type: application/json

{
  "message": "Team token is required"
}
HTTP/1.1 401 Unauthorized
Content-Type: application/json

{
  "message": "Invalid or expired team token"
}
HTTP/1.1 401 Unauthorized
Content-Type: application/json

{
  "message": "Team token has expired"
}