Webhook Configuration

Configure webhook endpoints through the 8bit-ai dashboard or API. Set up your endpoint URL, manage secrets, select events, and tune retry behavior to match your application's needs.

app.8bit-ai.com
Webhooks page

Prerequisites

Before configuring webhooks, ensure you have an active 8bit-ai account with admin-level access to your organization's settings.

Dashboard Setup

Navigate to Settings > Webhooks in the dashboard to create and manage your webhook endpoints. The dashboard provides a visual interface for all configuration options.

1

Navigate to Webhooks Settings

Go to Settings > Webhooks and click "Create Webhook".

2

Enter Endpoint URL

Provide your HTTPS endpoint that will receive webhook payloads.

3

Generate Secret Key

Create or provide your own webhook signing secret.

4

Select Events

Choose which events to subscribe to for this endpoint.

5

Configure Retries

Set retry behavior and failure notifications.

Endpoint URL

The endpoint URL is the HTTPS URL on your server where webhook payloads will be sent. Each webhook can have one primary endpoint URL.

URL Requirements

  • Must use HTTPS protocol (HTTP is not accepted in production)
  • Must be publicly accessible from the internet
  • Should respond with a 2xx status code within 5 seconds
  • Custom ports are supported (e.g., https://example.com:8443/webhook)

Creating via API

Secret Key & Signing

Each webhook endpoint has a unique secret key used to sign every payload. The secret is generated automatically when you create a webhook, or you can provide your own.

  • Auto-generated — A cryptographically random 32-byte hex string is generated by default.
  • Custom secret — You can provide your own secret (minimum 16 characters).
  • Rotation — Rotate secrets at any time from the dashboard. Old secrets remain valid for a 24-hour grace period.
  • Storage — Store the secret securely (e.g., environment variables, secrets manager). It is shown only once at creation time.

Secret Rotation

Rotate webhook secrets regularly (every 90 days is recommended). The 24-hour grace period ensures your endpoint can transition smoothly without missing deliveries.

Event Selection

Choose which events trigger this webhook endpoint. You can select individual events or use wildcard patterns to subscribe to entire categories.

Selection Patterns

PatternSubscribes To
*All events
conversation.*All conversation events
message.*All message events
agent.*All agent events
session.*All session events

You can create multiple webhook endpoints with different event selections to route events to different processing pipelines within your application.

Retry Configuration

Customize the retry behavior for failed webhook deliveries. The platform will retry deliveries that do not receive a 2xx response within the timeout window.

Configurable Parameters

ParameterDefaultDescription
max_retries6Maximum number of retry attempts
timeout5sTime to wait for a 2xx response
retry_intervalexponentialBackoff strategy (exponential or fixed)
notify_on_failuretrueSend email notification when all retries fail

Exponential Backoff

The default retry interval follows an exponential backoff pattern: 10s, 1m, 5m, 15m, 1h, 6h. You can switch to fixed intervals if your application needs predictable retry timing.

Continue learning about webhooks.