Get started
Quick start
Go from a new API key to a delivered WhatsApp message, and see the events Hello24 sends back.
1. Get an API key
Log in to the Hello24 portal and open Integrations → Custom API Integration to generate your key. Every request sends it in the HELLO24_API_KEY header.
Header
HELLO24_API_KEY: YOUR_API_KEY2. Register your webhook
Tell Hello24 where to send incoming messages and status updates. Your endpoint must be reachable over HTTPS. See Configure a webhook.
cURL
curl -X POST 'https://api.hello24.in/prod/v1/setWebhook' \
-H 'HELLO24_API_KEY: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://example.com/webhook"
}'3. Send your first message
Start the conversation with an approved WhatsApp template. See Send a template message for every field.
cURL
curl -X POST 'https://api.hello24.in/prod/v1/sendTemplateMessage' \
-H 'HELLO24_API_KEY: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"templateName": "black_friday_early_bird_access (en)",
"params": {
"body": [
"John",
"Shoes",
"20%",
"Tomorrow"
]
},
"phone": "919876543210"
}'An HTTP
200 means Hello24 received your request. Check code in the response body: SUCCESS means the message was accepted, FAILURE lists the errors.4. Handle webhook events
Hello24 sends a POST to your webhook for each reply and status change (sent, delivered, read, failed). Respond with HTTP 200 once you have processed it. See Webhook payload.
Payload · Incoming customer message
{
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "918056585189"
},
"contacts": [
{
"profile": {
"name": "V"
},
"wa_id": "919876543210",
"user_id": "IN.1274429124825497"
}
],
"messages": [
{
"from": "919876543210",
"from_user_id": "IN.1274429124825497",
"id": "wamid.HBgHGu5hJUHil79JKhg5kgHLUY2GukJ5HgBGN0FDQzE1REY5QjEzQwA=",
"timestamp": "1785385844",
"type": "text",
"text": {
"body": "hi"
}
}
]
}Next steps
- Send a text message inside the 24-hour customer service window.
- Keep your API key safe.
- Browse every model used in requests and webhooks.