How to authenticate your API requests


This API uses JSON Web Token (JWT) to identify authenticated users. You'll have to get a token using the authentication endpoint. Once you have it, please attach the token to your following requests using the Authorization header.

Authorization: Bearer {JWT_TOKEN}

All endpoints that require authentication will respond with a 401 HTTP status code and the following body if you don't provide a valid token:

  "error": {
    "message": "Unauthenticated",
    "code": "authorization",
    "type": "invalid_request_error"