orvachat

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

CodeMessage
401Invalid or revoked API key
403This is an account key. Create a key for a WhatsApp number on the Developer API page.
403Account suspended
403Developer API is off for this number. Switch the number to Developer API mode in your orvachat dashboard.
402Your plan is not active
402This number is above your plan's number limit
404Not found
409This number is not ready yet
413Request body is larger than 10 MB
429Too many requests. Slow down and retry in a minute.
502WhatsApp 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.