Sending a template to users
2

I have been using /messages API to send a broadcast to users using a template. After sending the broadcast for each user I get a 'accepted' status, which is not listed in statuses. Also, users don't always receive a message template, despite the fact that I received a positive response from Meta. Why is that? After some time, I tried again, and the broadcast worked properly, and worked for all my templates in a row. Could you explain me why it happens in that way? Please provide a link to the docs where this case is viewed.

This is how my request looks like: headers = { 'Authorization': f'Bearer {access_token}', 'Content-Type': 'application/json' } url = f'https://graph.facebook.com/v18.0/{phone_number_id}/messages' data = { "messaging_product": "whatsapp", "recipient_type": "individual", "to": recipient_number, "type": "template", "template": { "name": template_name, "language": { "code": language_code, "policy": "deterministic" }, } }

Beksultan
Asked about a month ago
Selected Answer
1

Join Our WhatsApp Support Group for Real-Time Help!

Hello everyone,

I've noticed that many of us are facing difficulties in getting timely and satisfactory responses to our queries on this forum. To address this issue, I have created a WhatsApp group specifically dedicated to discussing and solving these problems. This group is a non-profit initiative, strictly prohibiting any marketing activities.

Our aim is to provide a space where we can collaboratively troubleshoot issues and share solutions. We have also invited experts with relevant experience who can provide timely and accurate answers to your questions.

Feel free to join us and be part of a supportive community that helps each other. Here is the link to join theWhatsApp Support Group: https://chat.whatsapp.com/BCCvgn9K8UP2Q57NFgOtaW

Looking forward to seeing you there!

10 hours ago
Bin WU