Error Handling

No token provided

Our API will respond with a 401 status code.

{
    "error": "Missing 'Authorization' header"
}

Invalid token

Our API will respond with a 401 status code.

{
    "error": "Invalid token"
}

Expired/Revoked token

Our API will respond with a 401 status code.

{
    "error": "Invalid token"
}

Invalid Request Body

For example, your request is missing one mandatory parameter.

Our API will respond with a 400 status code.

Last updated