Send And Receive Messages
This page describes how to quickly send and receive WhatsApp messages using the 360dialog Messaging API.
Prerequisites
2
4
Send a message
curl \
-X POST https://waba-v2.360dialog.io/messages \
-H "D360-API-KEY: {{api-key}}" \
-H "Content-Type: application/json" \
-d '{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "PHONE_NUMBER",
"type": "text",
"text": {
"body": "Hello from WhatsApp API"
}
}'curl \
-X POST https://waba-v2.360dialog.io/messages \
-H "D360-API-KEY: {{api-key}}" \
-H "Content-Type: application/json" \
-d '{
"messaging_product": "whatsapp",
"to": "PHONE_NUMBER",
"type": "template",
"template": {
"name": "hello_world",
"language": {
"code": "en_US"
}
}
}'Last updated
Was this helpful?