Skip to main content

Hello everyone,

I’m using code with manychat api to send messages to WhatsApp users who have replied within 24 hours. Although I’m receiving a response of {'status': 'success'}, the users are not actually receiving the messages.

On the other hand, if I use the same method with a subscriber_id corresponding to a Facebook user, the messages are sent successfully.

Could anyone help me figure out what might be going wrong? Thank you in advance!

here is the request:

https://api.manychat.com/fb/sending/sendContent
payload = {    "subscriber_id": user_id,    "data": {        "version": "v2",        "content": {            "messages": s                {                    "type": "text",                    "text": message                }            ]        }    },    "message_tag": "ACCOUNT_UPDATE"}
 

@eric you're using the formatting for Messenger.

For WhatsApp use this:

https://manychat.github.io/dynamic_block_docs/channels/

It'll look something like this:

{
"version": "v2",
"content": {
"type": "whatsapp",
"messages": "
{
"type": "text",
"text": "simple text message"
}
]
}
}

 


Reply