Skip to main content
Solved

how send whatsapp message via manychat api


eric

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": [                {                    "type": "text",                    "text": message                }            ]        }    },    "message_tag": "ACCOUNT_UPDATE"}
 

Best answer by Gustavo Boregio

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

 

View original

8 replies

Gustavo Boregio
Forum|alt.badge.img+7
  • Community Moderator & Expert
  • Answer
  • December 19, 2024

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

 


eric
  • Author
  • Up-and-comer
  • December 20, 2024

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?

 


Gustavo Boregio
Forum|alt.badge.img+7

​@eric WhatsApp is not supported unfortunately.


heroseven
  • Up-and-comer
  • August 28, 2025

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


Gustavo Boregio
Forum|alt.badge.img+7

I haven’t tested it recently ​@heroseven 

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


Automations

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 


Gustavo Boregio
Forum|alt.badge.img+7

​@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...


Automations

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