Send a free-form WhatsApp session message
curl --request POST \
--url https://api.vambe.me/api/public/whatsapp/message/session \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"message": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({message: '<string>'})
};
fetch('https://api.vambe.me/api/public/whatsapp/message/session', 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/session"
payload = { "message": "<string>" }
headers = {
"x-api-key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)WhatsApp Messages
Send a free-form WhatsApp session message
Sends a free-form text message inside an active WhatsApp conversation (the 24h customer-care window), without using a template. Target the recipient with βcontact_idβ or βphoneβ. Only official WhatsApp API numbers are supported; WhatsApp rejects messages sent outside the 24h window.
POST
/
api
/
public
/
whatsapp
/
message
/
session
Send a free-form WhatsApp session message
curl --request POST \
--url https://api.vambe.me/api/public/whatsapp/message/session \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"message": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({message: '<string>'})
};
fetch('https://api.vambe.me/api/public/whatsapp/message/session', 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/session"
payload = { "message": "<string>" }
headers = {
"x-api-key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Body
application/json
The session message payload
Response
Message accepted for delivery.
Was this page helpful?
