{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Configure webhooks","description":"Build integrations with 3Chat APIs and webhook events."},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"configure-webhooks","__idx":0},"children":["Configure webhooks"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Configure a receiving URL and subscribe to events in 3Chat Open Platform before expecting webhook deliveries."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"1-prepare-a-receiving-endpoint","__idx":1},"children":["1. Prepare a receiving endpoint"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Your endpoint must:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Be accessible through HTTPS."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Accept HTTP ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST"]}," requests."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Accept a JSON request body."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Read the webhook request headers documented for the event."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Return an HTTP ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2xx"]}," response after accepting the event."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example endpoint:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"https://example.com/webhooks/3chat\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This URL belongs to your application. It is not a path under ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://app.3chat.ai"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"2-add-the-url-in-3chat","__idx":2},"children":["2. Add the URL in 3Chat"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Open the application's Webhook configuration in 3Chat Open Platform and enter the receiving URL."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use a dedicated production endpoint. Avoid temporary request inspection URLs in production environments."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"3-subscribe-to-events","__idx":3},"children":["3. Subscribe to events"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select the events required by your integration. For example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"BUTLER_DIALOG_CREATED\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Subscribing controls which event types 3Chat delivers to the configured endpoint."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"4-process-deliveries","__idx":4},"children":["4. Process deliveries"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When a request arrives:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Read and retain the event identifier for tracing and deduplication."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Identify the event type before processing event-specific data."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Validate required headers and the JSON payload."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Queue longer-running business logic when possible."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Return an HTTP ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2xx"]}," response after accepting the event."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See the individual event page for the exact headers and payload schema."]}]},"headings":[{"value":"Configure webhooks","id":"configure-webhooks","depth":1},{"value":"1. Prepare a receiving endpoint","id":"1-prepare-a-receiving-endpoint","depth":2},{"value":"2. Add the URL in 3Chat","id":"2-add-the-url-in-3chat","depth":2},{"value":"3. Subscribe to events","id":"3-subscribe-to-events","depth":2},{"value":"4. Process deliveries","id":"4-process-deliveries","depth":2}],"frontmatter":{"title":"Configure webhooks","description":"Configure a receiving URL and subscribe to 3Chat events.","seo":{"title":"Configure webhooks"}},"lastModified":"2026-09-18T09:18:24.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/configure-webhooks","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}