Content type

Make sure the following headers are set correctly in order to return a JSON response.

  • Set Content-Type header to application/json

  • Set Accept header to application/json

Successful response

Successful API queries will return a 200 HTTP Response code.

Error response

As much as possible, absentify attempts to use appropriate HTTP status codes to indicate the general class of problem, and this status code is repeated in the code section of the response.

Error responses will return JSON a message in the following format.

  "message": "string",
  "code": "string",
  "issues": [​
      "message": "string"

Last updated