Skip to main content

Overview

Webhooks let you receive real-time notifications from TalkifAI when events occur in your account. Configure a webhook URL and TalkifAI will send HTTP POST requests to your endpoint whenever subscribed events fire.

Setup

  1. Go to Studio → Settings → Webhooks
  2. Click Add Webhook
  3. Enter your endpoint URL (must be HTTPS)
  4. Select events to subscribe to
  5. Copy the Signing Secret for verification

Event Types


Webhook Payload

All events share the same envelope structure:

call.started

call.ended

transcript.ready


Verifying Webhook Signatures

TalkifAI signs every webhook request. Always verify the signature before processing:
Node.js

Responding to Webhooks

Your endpoint must respond with HTTP 200 within 10 seconds. If TalkifAI doesn’t receive a 200 response, it will retry up to 3 times with exponential backoff:
  • Retry 1: after 30 seconds
  • Retry 2: after 5 minutes
  • Retry 3: after 30 minutes

Custom Function Webhooks

Beyond event notifications, agents can also call your APIs during a live call using Custom Functions. This is different from event webhooks — custom function webhooks are synchronous calls made by the agent to fetch data or trigger actions. See Custom Functions Guide for details.

Testing Webhooks

Use the Webhook Tester in the Studio dashboard:
  1. Go to Settings → Webhooks
  2. Click Send Test Event on your webhook
  3. Select an event type
  4. View the request/response in the test panel
For local development, use a tunnel tool like ngrok to expose your local server: