POST
/
api
/
public
/
whatsapp
/
message
/
send
/
template
/
{templateId}
Send a template message with unstructured data
curl --request POST \
  --url https://api.vambe.me/api/public/whatsapp/message/send/template/{templateId} \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "value"
}'

Path Parameters

templateId
string
required

The template ID of the message to be sent

Query Parameters

x-api-key
string
required

API key needed to authorize the request

stage
string

The stage id to send the message to

from-phone-number
string
required

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 sent successfully.