Question

How to send WhatsApp messages via APIs


I need some help to send customer notifications via API. I am receiving a notification from an external service everytime our customers get paid. I would like to send customers a WhatsApp notification about payments they received, incl. the amount. 

I have done this succesfully with https://api.manychat.com/fb/sending/sendContent for Instagram notifications, but I can’t seem to make it work for WhatsApp notifications. I also tried to solve this with templates, but I can’t trigger templates from external APIs.

Does anyone know how to send a custom message to a WhatsApp contact via API?

 


2 replies

Userlevel 3
Badge +1

i need more details about that 

Userlevel 6
Badge +4

You cannot do ‘sendContent’ with business-initiated Whatsapp Messages.

The alternative is do use ‘sendFlow’ and trigger a specific flow, which has the template message setup.

If you need to add dynamic information to it, add custom fields to the template, and do a ‘setCustomFields’ before, so they have the correct values before sending the template message.

I’ve done this multiple times, so if you need help setting this up feel free to book a call at gusboregio.com and I can help you ;)

Reply