Skip to content

Webhooks overview

Webhooks notify your application when subscribed events occur in 3Chat.

Unlike an API request, which your application sends to 3Chat, a webhook request is initiated by 3Chat and delivered to an HTTPS endpoint operated by your application.

API:      Developer server → 3Chat
Webhook:  3Chat → Developer server

How webhook delivery works

  1. Your application exposes an HTTPS endpoint that accepts HTTP POST requests.
  2. You add that endpoint URL to the Webhook configuration in 3Chat Open Platform.
  3. You subscribe the application to one or more supported event types.
  4. When a subscribed event occurs, 3Chat sends its headers and JSON payload to the configured URL.
  5. Your endpoint validates and processes the event.
  6. Your endpoint returns an HTTP 2xx response after accepting the event.

Event reference

Each event reference page documents:

  • The public event type.
  • The business type code, when applicable.
  • Delivery headers.
  • The JSON payload schema.
  • A representative payload example.
  • The response expected from your endpoint.

Current event

The first documented event is BUTLER_DIALOG_CREATED. It is delivered when a new dialog is created in 3Chat.

Open API Reference → Dialog → Dialog/Events → Dialog Created for its headers, schema, and payload example.

Continue