Post-call webhooks
Configured per agent via thepost_call_webhook_url field. After every completed call, TalkPilot sends a POST request to this URL with call data.
Configuration
Set the webhook URL on the agent:Payload
The webhook sends a JSON payload with the call details:Handling webhooks
Employee status webhooks
Configured in the user’s profile settings (Dashboard > Settings > Webhooks). When an employee’s forwarding rule or status changes in the Dashboard, a webhook notification is sent.Payload
Best practices
- Respond with 200 quickly — Process webhook data asynchronously. TalkPilot expects a response within a few seconds.
-
Handle duplicates — In rare cases, a webhook may be sent more than once. Use the
call.idto deduplicate. -
Validate the source — Verify that webhook requests come from TalkPilot by checking the source IP or implementing a shared secret in the URL (e.g.,
https://your-app.com/webhooks/talkpilot?secret=YOUR_SECRET). - Log request IDs — Store the call ID for troubleshooting and correlation with the TalkPilot Dashboard.
- Handle failures gracefully — If your endpoint is down, webhook deliveries are not retried. Use the Calls API to catch up on missed events.
Related resources
- Agents API — Configure
post_call_webhook_url - CRM Integration — End-to-end webhook integration guide