/api/messages/send-textSend text message
Send a text message through a connected WhatsApp session.
URL: https://api.actiwapi.com/api/messages/send-text
Auth: JWT Bearer
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer {accessToken} | Yes |
| Content-Type | application/json | Yes* |
Request example
{
"sessionId": "uuid",
"to": "919876543210",
"text": "Hello from ActiWAPI!"
}Code examples
curl -X POST "https://api.actiwapi.com/api/messages/send-text" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {accessToken}"
-d '{ "sessionId": "uuid", "to": "919876543210", "text": "Hello from ActiWAPI!"}'Response example200
{
"success": true,
"data": {
"id": "uuid",
"status": "queued",
"to": "919876543210"
}
}