Skip to content
PingbackDocs
DevelopersBuild

Receive webhooks

Get signed events at your own HTTPS endpoint when conversations change.

Find it in Channels › Developer API › WebhooksScale

Choose what you receive

Add an endpoint

  1. Open Webhooks

    In Channels › Developer API.

  2. Add your HTTPS address

    Localhost, private addresses, credentials and URL fragments are rejected.

  3. Save the signing secret

    The whsec_ secret is shown once. Store it on your server.

Same thing, by API
POST /api/v1/developer/webhooks
Authorization: Bearer DASHBOARD_SESSION_TOKEN
Content-Type: application/json

{
  "name": "Support sync",
  "url": "https://example.com/pingback/events",
  "event_scope": "all_conversations"
}

Handle a delivery

  1. Verify the signature

    Use the raw request body.

  2. Skip duplicates

    Store X-Pingback-Delivery and ignore ones you've seen.

  3. Reply quickly

    Return a 2xx, then do slow work in the background.

HeaderValue
X-Pingback-Eventconversation.created, message.created, conversation.handoff or conversation.resolved
X-Pingback-DeliveryUnique delivery ID
X-Pingback-TimestampUnix timestamp used in the signature
X-Pingback-Signaturet=<unix_timestamp>,v1=<hex_hmac>
Example payload
{
  "id": "dev_evt_example",
  "type": "conversation.created",
  "created_at": 1793707200,
  "data": {
    "resource_id": "conv_example",
    "external_id": "order-123-support",
    "metadata": {}
  }
}

Retries and history

Failed deliveries are retried with backoff. A failed delivery doesn't undo the event. Open Deliveries on an endpoint to see its latest 20 attempts. Disabling an endpoint keeps its history.