Webhooks
Webhook callback payload
POST
https://your-server.example.com/your-webhook-pathHello24 calls this on your server: the URL you registered with Configure a webhook.
This section describes the HTTP POST payloads that Hello24 sends to your configured webhook URL.
Your application should expose an HTTPS endpoint capable of receiving these webhook events.
Hello24 currently sends webhook events for:
- Incoming customer messages
- Message sent
- Message delivered
- Message read
- Message failed
Message status events can be correlated with your original Send Message API request using the returned WhatsApp message ID.
Your webhook endpoint should return HTTP 200 OK after successfully processing each event.
Payload
IncomingMessageWebhook
messaging_productstringrequiredmetadataobjectrequiredmetadata.display_phone_numberstringcontactsarray of objectrequiredcontacts[].profileobjectcontacts[].profile.namestringcontacts[].wa_idstringcontacts[].user_idstringmessagesarray of IncomingMessagerequiredmessages[].fromstringmessages[].from_user_idstringmessages[].idstringmessages[].timestampstringmessages[].typestringmessages[].textobjectmessages[].text.bodystring
MessageStatusWebhook
messaging_productstringrequiredmetadataobjectrequiredmetadata.display_phone_numberstringcontactsarray of objectrequiredcontacts[].profileobjectcontacts[].profile.namestringcontacts[].wa_idstringcontacts[].user_idstringstatusesarray of MessageStatusrequiredstatuses[].idstringstatuses[].statusstring (sent | delivered | read | failed)statuses[].timestampstringstatuses[].recipient_idstringstatuses[].recipient_user_idstringstatuses[].conversationobjectstatuses[].conversation.idstringstatuses[].conversation.expiration_timestampstringstatuses[].conversation.originobjectstatuses[].conversation.origin.typestring
Examples
Incoming customer message
JSON
{
"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"
}
}
]
}Outbound message status
JSON
{
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "918056585189"
},
"contacts": [
{
"wa_id": "919876543210",
"user_id": "IN.1274429124825497"
}
],
"statuses": [
{
"id": "wamid.HBgMOTE4MTzFQIAd89DS87SDFERgSNzA5SLDFsdf80SDF09SD08fDS==",
"status": "sent",
"timestamp": "1785385849",
"recipient_id": "919876543210",
"recipient_user_id": "IN.1274429124825497",
"conversation": {
"id": "fb4036cdb4e279caf66333aa6951199e",
"expiration_timestamp": "1785385849",
"origin": {
"type": "service"
}
}
}
]
}Your response
200 OK
Return HTTP 200 after successfully processing the webhook event.
400 Bad Request
Invalid webhook payload.