Whatsapp Message Template
This API allows you to send a pre-approved WhatsApp message template to a specified recipient.
Send Whatsapp Template
POST
https://api.getspendo.com/gateway/api/v1/send/whatsapp
Headers
apiKey*
String
The API key that you get from spendo's dashboard.
Request Body
message*
string
The text message that you want to send, formatted as a string.
phoneNumber*
string
The phone number of the recipient, formatted as a string without any spaces or special characters.
templateName*
string
The Name of the pre-approved message template that you want to use, represented as a string.
templateParams*
Array
An arrayList containing the dynamic parameters that you want to replace in the message template.
Take a look at how you might call this method using our official libraries, or via curl
:
Last updated
Was this helpful?