Skip to main content
Endole API returns all responses as a JSON object containing a status field to indicate whether the request succeeded or failed. Every response also includes standard HTTP status codes.

Success Responses

When a request succeeds, the API returns a 200 OK status code with "status": "success" at the root of the JSON payload:

Error Responses

When a request fails, the API returns an appropriate HTTP error status code, and the JSON payload includes "status": "error", an error code string, and a descriptive message:

HTTP Status Codes

CodeStatusDescription
2xxSuccessThe request was successful and processed properly.
4xxClient ErrorThe request contains invalid data, missing parameters, or authentication errors.
5xxServer ErrorAn unexpected error occurred on Endole’s servers. If this issue persists, please contact support.