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.
occurs when the user unsubscribed from the whatsapp message you sent. The webhook payload contains the user's mobile phone number information and the unsubscribe time.
Contact Unsubscribe Created Example
{
"id": "evt_68f8886903683f3481f9707b",
"type": "contact.unsubscribe.created",
"apiVersion": "v2",
"createTime": "2025-10-22T07:31:53.872Z",
"unsubscriberChanged": {
"id": "68f888692abba5779b565928",
"phoneNumber": "+8615166662222",
"source": "API",
"updateTime": "2025-10-22T07:31:53.864Z"
}
}
Notes
- The
unsubscriberChanged
object contains the user's mobile phone number information and the unsubscribe time.