Hello24API docs

Webhooks

Configure a webhook endpoint

POSThttps://api.hello24.in/prod/v1/setWebhook

Registers a webhook URL to receive WhatsApp webhook events.

Once configured, Hello24 will send HTTP POST requests to this endpoint whenever a subscribed WhatsApp event occurs, including:

  • Incoming customer messages
  • Message sent
  • Message delivered
  • Message read
  • Message failed

The webhook URL must:

  • Use HTTPS.
  • Be publicly accessible.
  • Respond with HTTP 200 OK after successfully processing each webhook event.

Request

Headers

HELLO24_API_KEYstringrequired
Your Hello24 API key. See Authentication.
Content-Typestringrequired
application/json

Body

urlstringrequired
Public HTTPS endpoint that will receive webhook events from Hello24. Format: uri. Example: https://example.com/webhook

Examples

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"
  }'

Responses

200 OK

Webhook configuration request processed successfully.

Response fields

When code is SUCCESS

codestring (SUCCESS)required
datastringrequired
Example: Webhook has been set up successfully

When code is FAILURE

codestring (FAILURE)required
errorstringrequired
Example: We accept only url which starts with https (secured).
200 OK · Webhook configured
{
  "code": "SUCCESS",
  "data": "Webhook has been setup succesfully"
}
200 OK · Invalid HTTPS URL
{
  "code": "FAILURE",
  "error": "We accept only url which starts with https (secured)."
}

403 Forbidden

Invalid API key or unauthorized request.