📄 Contents#
Listening to inbound events
Inbound Event Object Structure
What are inbound events#
WhatsApp platform operates in an asynchronous manner. For example when you send a message, WhatsApp cloud APIs accept the request and then publish events indication wether the message was sent or not. They also publish events when a message is delivered, read, etc... Inbound messages to your WhatsApp number are also published as events.Listening to inbound events#
You can listen to these inbound events by configuring a webhook with us. The webhook configuration can be found in the 'WhatsApp Setup' plugin. Look for the input box titled "Webhook url to receive status events of API generated messages"Provide the url to your webhook in this box and save the plugin. Please ensure that the webhook is accessible on the internet and requires no authentication.Inbound Event Object Structure#
There are 2 types of inbound eventsdeliveryStatus - These events carry the delivery status of messages that were sent earlier
message - These events carry inbound messages received on your phone number
Each event will have 2 keysevent - 'message' | 'deliveryStatus'
payload - DeliverySatusPayload | MessagePayload
You can read more about these events and types from Meta's official documentation hereModified at 2025-04-02 09:20:24