Home - xpand-io/api-docs GitHub Wiki

Authorization

via HTTP header

Authorization: Token YOUR_API_KEY

Content-Type

All input and output is JSON format. The client should pass the header:

Content-Type: application/json

Errors

For any error the response will have a 4xx HTTP status. In addition, some errors may return details in the following format:

{
  "errors": [
    { "detail": "Unable to find an offer letter template for this user" }
  ]
}