Authentication
Your API key for authentication
Request Body
Recipient phone number (without + symbol, e.g., 1234567890)
Message Type (e.g., Text)
WhatsApp message ID to reply to (optional)
Your custom reference ID for tracking (optional)
Response
HTTP status code (200 for success)
Message status (sent, queued)
Your custom reference ID (if provided)
curl -X POST "https://backend.conversales.in/api/v1/sendTextMessage" \
-H "X-API-Key: 3kJ9mP2nQ8rT5vW7xY1zA4bC6dE8fG0hI" \
-H "Content-Type: application/json" \
-d '{
"to": "1234567890",
"message": "Hello! This is a test message from Conversales AI.",
"clientId": "client_ref_12345",
"type":"text"
}'
{
"statusCode": 200,
"message": "Text message sent successfully",
"data": {
"messageId": "wamid.HBgNMTIzNDU2Nzg5MA==",
"status": "sent",
"recipient": "1234567890"
}
}
Use the clientId parameter to track messages in your own system. This ID
will be returned in webhooks and status updates.