Skip to main content
Solved

how send whatsapp message via manychat api

  • December 19, 2024
  • 3 replies
  • 197 views

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
Did you find this topic helpful?

Gustavo Boregio
Forum|alt.badge.img+6

@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
  • 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+6

@eric WhatsApp is not supported unfortunately.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings