Skip to content

Configure webhooks

Configure a receiving URL and subscribe to events in 3Chat Open Platform before expecting webhook deliveries.

1. Prepare a receiving endpoint

Your endpoint must:

  • Be accessible through HTTPS.
  • Accept HTTP POST requests.
  • Accept a JSON request body.
  • Read the webhook request headers documented for the event.
  • Return an HTTP 2xx response after accepting the event.

Example endpoint:

https://example.com/webhooks/3chat

This URL belongs to your application. It is not a path under https://app.3chat.ai.

2. Add the URL in 3Chat

Open the application's Webhook configuration in 3Chat Open Platform and enter the receiving URL.

Use a dedicated production endpoint. Avoid temporary request inspection URLs in production environments.

3. Subscribe to events

Select the events required by your integration. For example:

BUTLER_DIALOG_CREATED

Subscribing controls which event types 3Chat delivers to the configured endpoint.

4. Process deliveries

When a request arrives:

  1. Read and retain the event identifier for tracing and deduplication.
  2. Identify the event type before processing event-specific data.
  3. Validate required headers and the JSON payload.
  4. Queue longer-running business logic when possible.
  5. Return an HTTP 2xx response after accepting the event.

See the individual event page for the exact headers and payload schema.