Response codes
The Reva API uses the following status / error codes.
| Response Code | Description |
|---|---|
| 200 | OK -- All good, your request is has been successful. |
| 201 | Created -- Your request is has been successful and the resource has been created. |
| 202 | Accepted -- Your request is has been successful and the resource has been updated. |
| 400 | Bad Request -- There is something wrong or invalid with your request. |
| 401 | Unauthorized -- There is something wrong with your Authorization header, e.g. your API key is wrong. |
| 403 | Forbidden -- You don’t have permission to perform this action. |
| 404 | Not Found -- The specified request/resource could not be found. |
| 429 | Too Many Requests -- Slow down! |
| 500 | Internal Server Error -- We had a problem with our server. Try again later. |
| 503 | Service Unavailable -- We're temporarily offline for maintenance. Please try again later. |
Request Limits
The Reva API rate limit is 150 requests per minute.
If this limit is exceeded, the application returns a 429 code ("Too Many request"). If the user reaches the limit, they must wait for the period (1 minute) to end before making API calls again.
The RateLimit-Limit, RateLimit-Remaining & RateLimit-Reset headers will be returned to let you know when you can start querying the API again.
