Reputation: 1
WhatsApp Business Cloud API: Message Accepted but Not Delivered
I’m using the WhatsApp Business Cloud API to send a template message. The API request returns a status of "accepted," but the recipient is not receiving the message.
Request URL:
POST https://graph.facebook.com/v20.0/<phone_number_id>/messages
Request Body:
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "<Mobile Number>",
"type": "template",
"template": {
"name": "booking_details",
"language": {
"code": "en"
},
"components": [
{
"type": "body",
"parameters": [
{"type": "text", "text": "chennai"},
{"type": "text", "text": "salem"},
{"type": "text", "text": "tn15505"},
{"type": "text", "text": "star"},
{"type": "text", "text": "23.02.2024"},
{"type": "text", "text": "koyambedu"},
{"type": "text", "text": "bus stand"},
{"type": "text", "text": "10:00 a.m."},
{"type": "text", "text": "₹5055"},
{"type": "text", "text": "L1/S,L2/S"}
]
},
{
"type": "button",
"sub_type": "quick_reply",
"index": "0",
"parameters": [
{
"type": "payload",
"payload": "PAYNOW_PAYLOAD"
}
]
},
{
"type": "button",
"sub_type": "quick_reply",
"index": "1",
"parameters": [
{
"type": "payload",
"payload": "CHANGE_DETAILS_PAYLOAD"
}
]
}
]
}
}
{
"messaging_product": "whatsapp",
"contacts": [
{
"input": "receiver",
"wa_id": "id"
}
],
"messages": [
{
"id": "wamid.HBgMOTE4MDU2MTg1NjI5FQIAERgSMUQwQzU3MjVENDBBMEQ5NTk5AA==",
"message_status": "accepted"
}
]
}
phone_number_id
and access token are correct.Despite the message being accepted, it’s not delivered to the recipient. What could be the reasons for this, and how can I troubleshoot or resolve this issue?
Upvotes: 0
Views: 468
Reputation: 518
Check the official document, it says it is in review(held_for_quality_assessment).
Upvotes: 0