Authentication

Authentication is done by passing a token in the request header Authorization. For example using cURL:

curl 'https://api.allo-media.net/calls' --header 'Authorization: Token ABCD1234'

In case of invalid token you'll be returned a status 401 Unauthorized with an error in the JSON payload:

{
"errors": [
{
"id": "all",
"title": "authentication_failed",
"detail": "Invalid token."
}
]
}

Get your token

You have to already be a customer of Allo-Media in order to be able to get data
from this API. If so, please see with your account manager to get an API token. You
will then be able to pass this value in the Authorization header of each request.