API Responses
Unless specified otherwise, the API returns JSON payloads both on success and errors. A successful response looks like:validation_error may define the location of the element failing the check in path attribute.
Dates
Request dates can be sent in ISO format variants:API Error Codes
Claap API uses the following error codes:| Code | Description |
|---|---|
| 200 | OK, everything worked as expected |
| 400 | There was something wrong with your request. Check the response body for a detailed error message |
| 401 | Unauthorized, API key was not supplied or is not valid |
| 404 | Not found, requested resource cannot be retrieved |
| 429 | Too many requests. Check the response headers for information about the state of rate limiting |
| 500 | Internal error. Contact us if the error persists. |
