Prerequisites
- The webhook endpoint URL should be provided by your server instead of YCloud. Make sure to replace the URL with your actual webhook endpoint URL.
- Make sure that your webhook endpoint is listening for the appropriate event types. See also Configure Webhooks, Retrieve a webhook endpoint API.
As mentioned in Webhook Events & Payloads, the webhook payload varies according to its type. In this section, we provide some examples of the webhook payload to help you understand the different types of events.
| Webhook Event Type | Examples |
|---|---|
whatsapp.template.reviewed | WhatsApp Template Reviewed Webhook Examples |
whatsapp.message.updated | WhatsApp Message Updated Webhook Examples |
whatsapp.inbound_message.received | WhatsApp Inbound Message Webhook Examples |
whatsapp.payment.updated | WhatsApp Payment Updated Webhook Examples |
contact.created | Contact Created Webhook Examples |
contact.deleted | Contact Deleted Webhook Examples |
contact.attributes_changed | Contact Attributes Changed Webhook Examples |
whatsapp.smb.history | WhatsApp Business App History Message Webhook Examples |
whatsapp.smb.message.echoes | WhatsApp Business App Sent Message Sync Webhook Examples |
whatsapp.flow.status_change | WhatsApp Flow Webhook Examples |
