Articles on: API

Creating an API Token

You need an API Key to be able to interact with the Baseline API in any way.

Obtaining an API Key

First login or signup to your Baseline account
Click on your name in the top right corner, choose settings
Scroll to the "API Key" Section. Finally click on "Fetch API Token" and copy the token that appears

Using the API Key

To connect to our API, you must use the Authorization header. Your API key has complete access to your account, so please protect it.

Simple Example:

curl \
-H "Authorization: Token API_TOKEN_HERE"

Updated on: 30/09/2023

Was this article helpful?

Share your feedback


Thank you!