Webhook Payload Examples

🚧

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 TypeExamples
whatsapp.template.reviewedWhatsApp Template Reviewed Webhook Examples
whatsapp.message.updatedWhatsApp Message Updated Webhook Examples
whatsapp.inbound_message.receivedWhatsApp Inbound Message Webhook Examples
whatsapp.payment.updated