Partial Outageshare-external
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 5 months ago