Skip to main content
Errors come back with HTTP 200 (except a removed version, which answers 410), success: false, a code and a message. Use the code in your logic; show or log the message; send the trace_id to support when you need help.

Codes

Validation errors

Some business rules also answer 1002 with an explicit message, for example a template that is not approved, a missing template variable, or a free-form WhatsApp message outside the 24-hour window.

Retrying

  • Retry 1006 and 1009 with an exponential backoff.
  • Do not retry 1002, 1005 or 1007 unchanged: they fail again.
  • POST requests that create something (a message, a conversation) are not idempotent, except the Shortext inbound call, which deduplicates on message.id.