Skip to content

SMS, WhatsApp, and RCS Webhooks

Webhooks are HTTP callbacks the platform sends to your URL when a message changes state or a user replies. Configure them in the dashboard, then expose an HTTPS endpoint that accepts POST (and GET for SMS DLR if you choose that method).

How webhooks work

You send with apikey. The platform later pushes status to your URL. You do not poll Omni for DLR on the public send APIs.

Your endpoint should:

  • Be public HTTPS (plain HTTP is often blocked).
  • Respond with HTTP 2xx quickly (do the work asynchronously). Slow or 5xx replies may be retried.
  • Treat events as at-least-once. The same messageId can arrive more than once — make handlers idempotent (same id + status → no double update).
  • Match outbound sends using messageId (SMS, WhatsApp) or messageId + botId (RCS).

Event map

ChannelWhat you receiveWhere to configurePayload samples
SMSDelivery report (DLR): status, error code, delivered timeMessage app → Utility Manager → DLR Push ConfigurationThis page
WhatsAppmessage_status (sent, delivered, read, failed) and message_received (text, buttons, media)WhatsApp → WA Utility → WebhookWhatsApp webhook
RCSUser text, suggestion taps, files, and related callbacksRCS → Utility → WebhookRCS webhook

SMS delivery reports

Configure a URL that can receive GET query parameters or a POST JSON body. Pick the placeholders you need; only those fields are sent.

How to add an SMS webhook

  1. Open Message app → Utility Manager → DLR Push Configuration.
SMS DLR list in the dashboard
  1. Click Add Configuration.
Add SMS DLR configuration
  1. Fill in the fields below and save.
FieldDescription
NameA unique name for this configuration.
ProviderSMS provider this DLR applies to.
MethodHTTP method. Use POST unless your receiver only accepts GET.
End PointPublic URL that will receive the DLR.
HeadersOptional. Header value must be a placeholder from the table below.

Header placeholders

At send time, placeholders are replaced with the live DLR values.

Header key (example)Header value
Message-Id{{messageId}}
Mobile{{mobileNumber}}
Status{{status}}
Gateway{{gatewayName}}
Delivered-Time{{deliveredDate}}

Supported placeholders

PlaceholderDescription
{{messageId}}Unique message ID assigned to the SMS.
{{mobileNumber}}Recipient's mobile number.
{{messageCredit}}Number of SMS credits consumed.
{{gatewayName}}SMS gateway through which the message was sent.
{{senderName}}Sender ID used to send the SMS.
{{errCode}}Error code returned by the gateway or operator, if applicable.
{{deliveredDate}}Date and time when the SMS was delivered.
{{status}}Current delivery status (e.g., DELIVERED, FAILED, PENDING).
{{operatorCircle}}Telecom operator and service circle of the recipient.
{{createdAt}}Date and time when the SMS was submitted.
{{statusDescription}}Detailed description of the delivery status or failure reason.

GET request

When GET is selected, the delivery report is sent as query parameters.

GET https://api-03.moengage.com/sms/dlr/custom/3227454402?messageId=23b475e2-b522-4863-b68e-a465623b1b75%3A1&mobileNumber=919999690355&senderName=PLCKWK&errCode=000&status=Delivered&createdAt=1782475943819&deliveredDate=Fri%20Jun%2026%202026%2017%3A42%3A25%20GMT%2B0530%20(India%20Standard%20Time)&statusDescription=Delivered

POST request

When POST is selected, the delivery report is sent in the request body as JSON.

{
  "messageId": "1b0bcd2b-1fe6-4c14-978d-b5854f9159c5:1",
  "mobileNumber": "917478149843",
  "senderName": "STYBZR",
  "errCode": "000",
  "status": "Delivered",
  "createdAt": "1782475943819",
  "deliveredDate": "Fri Jun 26 2026 17:40:00 GMT+0530 (India Standard Time)",
  "statusDescription": "Delivered"
}

The fields included in the GET query or POST body depend on the placeholders you configured.


WhatsApp webhooks

Register the URL under WhatsApp → WA Utility → Webhook.

WhatsApp webhook list Add WhatsApp webhook

Listen for:

  • message_status — outbound sent, delivered, read, or failed
  • message_received — inbound text, buttons, lists, and media

Full JSON samples are on WhatsApp webhook.


RCS webhooks

Register the URL under RCS → Utility → Webhook. Events include user text, suggestion/action taps, and file shares. Samples are on RCS webhook.


Relating webhooks to sends

  1. Your send call returns messageId.
  2. Persist it with your own order or user id.
  3. When a webhook arrives, look up that messageId and update status.
  4. Ignore duplicates with the same id and status.

Do not wait on the send HTTP response for DELIVERED. That round-trip is only accept.

CDP inbound/outbound webhooks move profiles, not message receipts. Keep them on a different URL from DLR. See My CDP.

Typical mistakes

SituationWhat to do
Never receive eventsURL must be public HTTPS; check the channel webhook screen is saved and the bot/number matches the send
Duplicate status updatesKey your store on messageId + status; treat deliveries as at-least-once
Mixing CDP and DLRTwo URL families. Profile events are not DELIVERED
Using send HTTP 200 as delivered200 is accept. Wait for the webhook or Number report
GET vs POST mismatch (SMS)The DLR Method must match what your server implements

Recipe: Match a delivery report.

Was this page helpful?