Hello24API docs

Webhooks

Webhook callback payload

POSThttps://your-server.example.com/your-webhook-path

Hello24 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_productstringrequired
Example: whatsapp
metadataobjectrequired
metadata.display_phone_numberstring
Example: 918056585189
contactsarray of objectrequired
contacts[].profileobject
contacts[].profile.namestring
Example: V
contacts[].wa_idstring
contacts[].user_idstring
messagesarray of IncomingMessagerequired
messages[].fromstring
messages[].from_user_idstring
messages[].idstring
messages[].timestampstring
messages[].typestring
Example: text
messages[].textobject
messages[].text.bodystring

MessageStatusWebhook

messaging_productstringrequired
Example: whatsapp
metadataobjectrequired
metadata.display_phone_numberstring
Example: 918056585189
contactsarray of objectrequired
contacts[].profileobject
contacts[].profile.namestring
Example: V
contacts[].wa_idstring
contacts[].user_idstring
statusesarray of MessageStatusrequired
statuses[].idstring
statuses[].statusstring (sent | delivered | read | failed)
statuses[].timestampstring
statuses[].recipient_idstring
statuses[].recipient_user_idstring
statuses[].conversationobject
statuses[].conversation.idstring
statuses[].conversation.expiration_timestampstring
statuses[].conversation.originobject
statuses[].conversation.origin.typestring
Example: service

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.