Skip to Content
CallMitraDocs
Errors

whatsapp_recipient_opted_out

The recipient opted out of WhatsApp messages.

HTTP statusTypeCode
409conflict_errorwhatsapp_recipient_opted_out

What it means

The customer asked to stop receiving WhatsApp messages from you, so nothing was sent. Do not retry; the opt-out is cleared only when the customer opts in again.

How to handle it

Fetch the resource again to see its current state, then decide whether to retry.

Example response

{
  "detail": "The recipient opted out of WhatsApp messages.",
  "error": {
    "type": "conflict_error",
    "code": "whatsapp_recipient_opted_out",
    "message": "The recipient opted out of WhatsApp messages.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/whatsapp_recipient_opted_out",
    "requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
  }
}

Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.

Returned by

  • POST /api/v1/whatsapp/messages — Send a WhatsApp message

On this page