POST
Receive Meta Webhook
Meta sends incoming messages, delivery status, and account events to this URL. Valid events are forwarded to your configured webhook_url from set_cloud_webhook.
API endpoint
https://waclient.com/api/webhook/META68B6ED90CXXXXExample:
curl -X POST \
'https://waclient.com/api/webhook/META68B6ED90CXXXX' \
-H 'Content-Type: application/json' \
--data '{
"object": "whatsapp_business_account",
"entry": [
{
"id": "8772623583XXXXX",
"changes": [
{
"value": {
"messaging_product": "whatsapp",
"metadata": {
"phone_number_id": "9029377795XXXXX"
},
"messages": [
{
"from": "20100981XXXX",
"id": "wamid.xxx",
"timestamp": "1710000000",
"text": {
"body": "Hello"
},
"type": "text"
}
]
},
"field": "messages"
}
]
}
]
}'Response
{
"status": "success"
}| Parameter | Description |
|---|---|
| body | Meta webhook JSON payload (object, entry, changes) |
meta_webhook_url:
https://waclient.com/api/webhook/META68B6ED90CXXXX — use this in Meta Developer Console.