Authentication
Any requests to the API must include an Authorization
header, with the value set to the returned token.
Request
🚀 POST
BASE_URL/rest/v1/auth/login
Request
Headers
- x-api-key Organisation-based API key issued by Komodo
Responses
200 Successful A successful request will return a short-lived token that can be used to retrieve information from both our REST & Cube APIs
{
"token": "eyJhbGciOiJ....."
}
400 Bad Request Missing API key
{
"error": "Missing API key",
}
401 Forbidden Invalid API key
{
"error": "Invalid API key",
}