# Get started with Telemetry API

![logs.png](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/6640b1bb-f1e3-4baf-0e14-781dac9d6000/lg2x =1500x507)

## How Telemetry API works

Our API follows [JSON:API](https://jsonapi.org/) specification.

API requests made to Better Stack API are authorized using a [Bearer Authentication standard](https://swagger.io/docs/specification/authentication/bearer-authentication/). 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.

- Go to [Better Stack → API tokens](https://betterstack.com/settings/global-api-tokens ";_blank").
- Copy existing or create new tokens in **Global API tokens** section.

![Global API Token](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/267e3eb0-5de4-45dd-c830-7ddad6cdc900/lg2x =3288x1214)

## Get a Telemetry API token

A **Telemetry API token** is a team-scoped token for managing your al your Telemetry resources, and resources in [Errors](https://betterstack.com/docs/errors/) and [Warehouse](https://betterstack.com/docs/warehouse/). You can get a separate API token for each of your teams.

- Go to [Better Stack → API tokens -> Team-based tokens](https://betterstack.com/settings/api-tokens/0 ";_blank").
- Select your team.
- Copy existing or create new tokens in **Telemetry API tokens** section.

![Telemetry API Token](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/1db07729-033d-4530-78e4-860da8cd5e00/lg1x =1111x343)

## Terraform support

You can manage your telemetry resources using [Terraform](https://betterstack.com/docs/getting-started/integrations/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!
