Webhook events
iChatUp posts eight business events to the one https address saved on its Integrations page: lead.created, lead.hot, booking.created, booking.cancelled, payment.receipt_received, conversation.needs_person, conversation.ai_needs_answer and message.not_delivered. Each is a JSON POST with the same envelope: an id, the event name, the time, the business, the customer and a data object.
Sepintas lalu
| Transport | HTTPS POST, JSON body |
|---|---|
| Headers | X-iChatUp-Event, X-iChatUp-Delivery, X-iChatUp-Signature |
| Expected answer | Any 2xx within 10 seconds |
| Retries | Three attempts in total, a few minutes apart |
The envelope
{
"id": "6f1c2a9e-3b7d-4e21-9c55-0a8b1d2e3f40",
"event": "lead.hot",
"occurred_at": "2026-11-22T10:41:07+00:00",
"business": {"id": 1234, "name": "Sunrise Dental"},
"customer": {"name": "Asha Verma", "number": "+919876543210"},
"data": {
"message": "Can I book whitening this Saturday?",
"interest": "Booking inquiry",
"score": "85",
"summary": "Wants teeth whitening, asked about Saturday.",
"reply_link": "https://wa.me/919876543210",
"chat_link": "https://ichatup.com/chats/919876543210",
"teach_link": "https://ichatup.com/setup-assistant"
}
}id equals the X-iChatUp-Delivery header and stays the same on retries. Times are ISO 8601 in UTC.
What is in data, event by event
lead.created,lead.hot: message, interest, score, summary.booking.created: service, date, time_slot, guests, amount, status, booking_ref, booking_link. Sent when a slot is held, so check status.booking.cancelled: service, date, time_slot, reason, booking_ref, booking_link.payment.receipt_received: amount, payment_app, payment_ref, booking_ref, note, booking_link. A receipt was read; the money still needs checking.conversation.needs_person: message, reason.conversation.ai_needs_answer: message, question.message.not_delivered: reason, failed_link.
Most events also carry reply_link, chat_link and teach_link. Values are text and may be empty strings; amounts arrive already formatted with the account’s currency symbol.
Receiving well
- Answer 2xx quickly and do slow work afterwards.
- De-duplicate on
id. - Verify the signature before trusting the body; see verifying webhook signatures.
- Ignore event names you do not handle, so new ones cannot break you.
The test button on the Integrations page sends a lead.created with "test": true in data. Setup steps are on webhooks.
Soalan lazim
Is every customer message sent as an event?
No. Only these eight business moments are sent, and the same moment is not sent twice.
Can I subscribe to only some events?
Every event goes to the one address; filter by the event field or the X-iChatUp-Event header on your side.
Cuba pada nombor anda sendiri
Dua minit untuk sambung, 7 hari percuma, tanpa kad. Pekerja AI anda menjawab, membuat tempahan dan membuat susulan di nombor WhatsApp yang sudah digunakan pelanggan anda.