Authentication

How to authenticate your API requests

Authentication

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": {
    "code": "authorization",
    "message": "Unauthenticated",
    "title": "You are not authenticated",
    "detail": "You need to log in to perform this action",
    "type": "https://errors.devengo.com/authentication",
    "backtrace": null
  }
}