Skip to Content

API Errors

Every error response from the Email API has the same shape:

{ "success": false, "error": "INSUFFICIENT_BALANCE", "message": "Wallet balance ₹0.00 — recharge to continue sending." }
FieldMeaning
successAlways false for errors
errorStable code — build retry/handling logic against this
messageHuman-readable text. May change for clarity over time
field(When relevant) Specific field that caused the error

For the complete error code reference + retry guidance, see Knowledge Base → Errors.

HTTP status codes

CodeMeaning
200Success
201Resource created
400Bad request — fix your inputs
401Missing / invalid API key
402Insufficient wallet balance — recharge
403Sandbox cap, sending paused, or feature locked
404Resource not found
409Conflict (duplicate name, etc.)
429Rate limit hit — back off
500Server error — retry with backoff
502Upstream gateway error (Zoho etc.)
503Database / dependency unavailable

Retry strategy

StatusRetry?
4xx (except 408 / 429)No — fix the request
408 / 429Yes — exponential backoff
5xxYes — up to 3 attempts with backoff

See Knowledge Base → Errors for per-code guidance.