Authentication

You'll need to authenticate your requests to access any of the endpoints in the Calapi API. In this guide, we’ll look at how authentication works. Calapi currently only offers a single method for authenticating requests which is with a Bearer token,

Bearer token

The only way to authenticate with the Calapi API is by using a bearer token in the Authorization header. You will need your access token which you will find it in the Calapi dashboard under developer settings. Here's how to add the token to the request header using cURL:

Example request with a bearer token

curl --location 'https://api.calapi.io/calendars' \
     --header 'Authorization: Bearer {token}'

Please don't commit your Calapi token to GitHub!

Was this page helpful?