Get started with Telemetry API

logs.png

How Telemetry API works

Our API follows JSON:API specification. Generate a client or import the API into Postman with its OpenAPI document.

API requests made to Better Stack API are authorized using a Bearer Authentication standard. That means you'll only need to add a header with Authorization: Bearer $TOKEN to your requests.

Get a global API token

A global API token is a token valid across all your teams, for managing anything within Better Stack.

With a global API token, pick the team with the team_id parameter, for example t123. Get the IDs of all your teams via List all teams.

Global API tokens

Get a Telemetry API token

A Telemetry API token is a team-scoped token for managing all your Telemetry resources, including Errors. You can get a separate API token for each of your teams.

Team-based tokens

Terraform support

You can manage your telemetry resources using Terraform.

Have any questions?

Please feel free to message us at hello@betterstack.com.
We'll get back to you as soon as we can, typically within a few hours. 🙏
Thank you!