Sending · POST
sendMessage
Send a text message to a person or a group. The most used method in every automation.
Endpoint
POST https://flowapi.pro/waInstance{idInstance}/sendMessage/{apiTokenInstance}Request body
{
"chatId": "972501234567@c.us",
"message": "Hello from FlowAPI",
"quotedMessageId": ""
}Example
curl -X POST "https://flowapi.pro/waInstance{idInstance}/sendMessage/{apiTokenInstance}" \
-H "Content-Type: application/json" \
-d '{"chatId":"972501234567@c.us","message":"Hello from FlowAPI","quotedMessageId":""}'Response
{
"idMessage": "3EB0C1A7F2D4E8B91C"
}Notes
- chatId is the phone number with country code plus @c.us, or a group id ending in @g.us.
- Supports WhatsApp formatting: *bold*, _italic_, ~strike~ and line breaks.
- Pass quotedMessageId to reply to a specific message.
More sending methods
Try it on your own number
7 days free, no credit card. Then $10 per number per month.