3Chat delivers subscribed events to the HTTPS URL configured by the developer in 3Chat Open Platform.
Webhook deliveries use HTTP POST with a JSON request body.
Content-Type: application/jsonEvent-specific pages list the additional headers included with each delivery.
Return an HTTP 2xx status after your endpoint has accepted the event:
HTTP/1.1 200 OKor:
HTTP/1.1 204 No ContentKeep the synchronous handler short. For expensive processing, persist or enqueue the event first, return a successful response, and process it asynchronously.
Webhook consumers should tolerate receiving the same event more than once.
- Store the event or delivery identifier when available.
- Check whether it has already been processed.
- Avoid applying the same business action twice.
- Make downstream operations idempotent where possible.
Record enough information to trace a delivery without logging secrets or unnecessary personal data:
- Event type.
- Event or request identifier.
- Delivery timestamp.
- Processing result.
- Returned HTTP status.
Use the individual event reference page to validate the request headers and JSON structure.