curl --request POST \
--url https://api.vambe.me/api/public/whatsapp/message/send/template/{templateId} \
--header 'Content-Type: application/json' \
--data '{
"key": "value"
}'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({key: 'value'})
};
fetch('https://api.vambe.me/api/public/whatsapp/message/send/template/{templateId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vambe.me/api/public/whatsapp/message/send/template/{templateId}"
payload = { "key": "value" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Send WhatsApp Smart Template (Unstructured Data, Single Recipient)
curl --request POST \
--url https://api.vambe.me/api/public/whatsapp/message/send/template/{templateId} \
--header 'Content-Type: application/json' \
--data '{
"key": "value"
}'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({key: 'value'})
};
fetch('https://api.vambe.me/api/public/whatsapp/message/send/template/{templateId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vambe.me/api/public/whatsapp/message/send/template/{templateId}"
payload = { "key": "value" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Path Parameters
The template ID of the message to be sent
Query Parameters
API key needed to authorize the request
The stage id to send the message to
The channel phone number to send the message from
Body
The payload to send with the template message. Can be JSON or form data. To add integration data use the key integrationData and the value should be a JSON object with the following structure: { "integrationContactId": "value", "integrationDealId": "value", "additionalData": { "key": "value" } }
The body is of type object.
Response
Message accepted for delivery. Use messageId with GET /public/whatsapp/message/status/{messageId} to track the delivery status. Retrying the exact same request within 10 minutes does not send a second message: it returns the response of the original request, so webhook retriers such as Klaviyo, Zapier or Make cannot duplicate a send. To intentionally message the same recipient twice, change the body or wait past the window.
Was this page helpful?
