Explore documentation
Getting an API token
API requests to Better Stack are authorized using the Bearer Authentication standard: add an Authorization: Bearer $TOKEN header to your requests.
You can use either a Global API token for organization-wide management, or a Telemetry API token scoped to a specific team. Real user monitoring uses the same tokens as the Telemetry API.
Get a global API token
A global API token is a token valid across all your teams, for managing anything within Better Stack.
- Go to Better Stack → API tokens
- Copy an existing token or create a new one in the Global API tokens section.
Get a Telemetry API token
A Telemetry API token is a team-scoped token for managing your Telemetry resources, including real user monitoring applications. You can get a separate API token for each of your teams.
- Go to Better Stack → API tokens → Team-based tokens
- Select your team.
- Copy an existing token or create a new one in the Telemetry API tokens section.