Authentication - Abyssale REST API
Abyssale uses API Key Authentication: Your API key is passed along with every API call, allowing Abyssale to identify your company account and access your data.

How to get an API Key?

Access to the API key requires at least an Admin role.
  1. 1.
    Go to & log in
  2. 2.
    Click Settings on the top bar
  3. 3.
    Click API Key on the left menu
  4. 4.
    Click the blue Request an API button.
  5. 5.
    Once done, your API key will be available (with a small delay of 30seconds) & you can copy it (by clicking on the copy icon button on the right part).
All of your Abyssale requests must contain a x-api-key header with your API Key

How to test your authentication?

Just call the GET /ready route with the header mentioned below, as follows:
curl -i -H "x-api-key: {YOUR-API-KEY}" # HTTP/2 200
const axios = require('axios');
axios.get("", {headers: {"x-api-key": "{YOUR-API-KEY}"}}).then(response => {
console.log(response.status) // 200
import requests
r = requests.get("", headers={"x-api-key": "{YOUR-API-KEY}"}, timeout=30)
r.status_code # 200
If the status code received is a 200, everything is OK.