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- Your application exposes an HTTPS endpoint that accepts HTTP
POSTrequests. - You add that endpoint URL to the Webhook configuration in 3Chat Open Platform.
- You subscribe the application to one or more supported event types.
- When a subscribed event occurs, 3Chat sends its headers and JSON payload to the configured URL.
- Your endpoint validates and processes the event.
- Your endpoint returns an HTTP
2xxresponse after accepting the event.
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.
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.