Skip to main content

Overview

Webhooks let you receive real-time HTTP notifications when events occur on your agents — chat messages, voice calls, campaign steps, and more. Register an HTTPS endpoint, choose which events to subscribe to, and ThinnestAI will POST signed JSON payloads to your URL.

How It Works

  1. Register an endpoint with a URL and event types
  2. Receive a signing secret (shown once — save it)
  3. Events fire as your agents operate
  4. ThinnestAI POSTs signed JSON to your URL
  5. Verify the signature to confirm authenticity
  6. Respond with 2xx to acknowledge receipt
Failed deliveries are retried with exponential backoff (10s, 60s, 5min) up to 3 times.

Event Types

Payload Format

Every webhook POST has this JSON structure:

Headers

Every webhook request includes these headers:

Limits

  • Maximum 20 endpoints per account
  • Webhook URLs must use HTTPS
  • Delivery timeout: 5 seconds (configurable up to 30s)
  • Maximum 3 retries (configurable 0–5)
  • Retry delays: 10s → 60s → 300s (exponential backoff)

Quick Start

The response includes a secret — save it to verify incoming webhooks.

Python SDK

CLI