Get started with Logs API

How Logs API works

Our API follows JSON:API specification.

You'll get a separate API token for each of your teams.​

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

Obtaining a Logs API Token:

  • Go to Team members
  • Click Configure team tab in the header
  • Click on the Direct API Token to copy it to the clipboard

Direct API Token.png

warning

Please note that Better Stack has a separate API token from Better Uptime. You can obtain your Better Uptime API token here.

Have any questions?

Haven't found what you were looking for? Please feel free to get in touch with us at hello@betterstack.com. We'll get back to you as soon as we can, typically within a few hours. 🙏 Thank you!