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"
}
]
}
}

 


thank you so much Gustavo, and is it possible to send image to whatsapp user via manychat api ?
because i see in the docs that only telegram and instagram are supported, what about whatsapp?

 


@eric WhatsApp is not supported unfortunately.


is not posible yet sending images thought api? ​@Gustavo Boregio 


I haven’t tested it recently ​@heroseven 

But the documentation indicates it still isn’t supported: https://manychat.github.io/dynamic_block_docs/channels/


Is it possible to send dynamic buttons though the manychat API, cuz i keep getting the error, that says this 

error : {"status":"error","message":"Content can’t be sent to the subscriber without a message tag. Subscriber’s last interaction was over 50h ago (more than 24 hours ago)","code":3011}

Even though i am messaging withing the 24hr window and i have tried both ways fo adding the message tag and not adding the message tag i keep getting the same error. And sometimes it says channel is disabled even though i have connected whatsapp to manychat.

Can someone please h​@Gustavo Boregio 


@Automations yes it’s possible, we do it several thousand times a day, like this:

 

You most definitely have something on your setup that’s not how it should be, because this works perfectly...


Ohh, i didn’t know you can only use one button, and my payload was missing the content type = to whatsapp, i tested it out and it worked thank you very much i was seeing the same error from morning.

I wanted to use buttons, for booking appointments, so the user will get recommend 3 timeslots and when they click on the buttons it will trigger another make workflow that will book the appointments.

@Gustavo Boregio 


Reply