Skip to content

Event delivery

3Chat delivers subscribed events to the HTTPS URL configured by the developer in 3Chat Open Platform.

Request method and content type

Webhook deliveries use HTTP POST with a JSON request body.

Content-Type: application/json

Event-specific pages list the additional headers included with each delivery.

Responding to a delivery

Return an HTTP 2xx status after your endpoint has accepted the event:

HTTP/1.1 200 OK

or:

HTTP/1.1 204 No Content

Keep the synchronous handler short. For expensive processing, persist or enqueue the event first, return a successful response, and process it asynchronously.

Idempotent processing

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.

Logging and troubleshooting

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.