Responses & Errors
Error Responses
The shape of every success and error response, and what each error code means.
Every answer is JSON with the same envelope, so you can check one field to know if it worked.
Success
{
"code": 200,
"data": { "Details": "Sent", "Id": "3EB0ABCDEF1234567890", "Timestamp": "2026-11-28T10:15:00+05:00" },
"success": true
}data is different for each endpoint. Each endpoint page shows a response example.
Error
{ "code": 404, "error": "Not found", "success": false }code is the same as the HTTP status. error says what went wrong in plain words.
Error codes
| Code | Message |
|---|---|
401 | Invalid or revoked API key |
403 | This is an account key. Create a key for a WhatsApp number on the Developer API page. |
403 | Account suspended |
403 | Developer API is off for this number. Switch the number to Developer API mode in your orvachat dashboard. |
402 | Your plan is not active |
402 | This number is above your plan's number limit |
404 | Not found |
409 | This number is not ready yet |
413 | Request body is larger than 10 MB |
429 | Too many requests. Slow down and retry in a minute. |
502 | WhatsApp service unavailable, try again |
Other errors come from WhatsApp itself (for example a wrong phone number or a missing field) and keep the same shape, usually with code 400 or 500.