POST
/
api
/
public
/
whatsapp
/
message
/
send
/
{phone}
/
template
/
{templateId}
Send a template message
curl --request POST \
  --url https://api.vambe.me/api/public/whatsapp/message/send/{phone}/template/{templateId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '{
  "variables": [
    "<string>"
  ],
  "meta_data": {}
}'

Headers

x-api-key
string
required

API key needed to authorize the request

Path Parameters

templateId
string
required

The template ID of the message to be sent

phone
string
required

The phone number to send the message to

Query Parameters

from-phone-number
string

Body

application/json

The payload to send with the template message

variables
string[]
required
meta_data
object
required
contactName
string
stageId
string
toPhoneNumber
string

Response

Message sent successfully.