curl -X POST \
'https://dashboard.whatsable.app/api/whatsapp/messages/v2.0.0/send' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"to": "+1234567890",
"text": "Hello, this is a test message from WhatsAble!"
}'
Send a WhatsApp message with optional attachments (images, videos, documents)
POST
/
send
cURL
Copy
curl -X POST \
'https://dashboard.whatsable.app/api/whatsapp/messages/v2.0.0/send' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"to": "+1234567890",
"text": "Hello, this is a test message from WhatsAble!"
}'