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
- Go to Studio → Settings → Webhooks
- Click Add Webhook
- Enter your endpoint URL (must be HTTPS)
- Select events to subscribe to
- Copy the Signing Secret for verification
Event Types
| Event | When it fires |
|---|---|
call.started | Call connected, agent joined |
call.ended | Call completed |
call.failed | Call failed to connect |
transcript.ready | Transcript available after call |
analysis.completed | Post-call analysis finished |
credit.low | Credit balance below 20% |
credit.depleted | No credits remaining |
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:- Go to Settings → Webhooks
- Click Send Test Event on your webhook
- Select an event type
- View the request/response in the test panel