Authentication

You'll need to authenticate your requests to access any of the endpoints in the evotic API. In this guide, we'll look at how authentication works. Evotic offers an easy ways to authenticate your API requests: Bearer Token authentication.

OAuth2 with bearer token

The recommended way to authenticate with the evotic API is by using OAuth2. When establishing a connection using OAuth2, you will need your access token — you will find it in the evotic dashboard under API settings. Since we don't save your access token, you will need to generate a new one if you lose it.

Here's how to add the token to the request header using cURL:

Example request with bearer token

curl https://evotic.io/api/v1/servers \
  -H "Authorization: Bearer {token}"

Always keep your token safe and reset it if you suspect it has been compromised.

Using an SDK

If you use one of our official SDKs, you won't have to worry about any of the above — fetch your access token from the evotic dashboard under API settings, and the client library will take care of the rest. All the client libraries use OAuth2 behind the scenes.