Skip to main content

What Are Webhooks?

Webhooks are HTTP callbacks that TopCalls sends to your server when events occur. They’re the best way to integrate TopCalls with your existing systems.

Real-Time Updates

Get notified instantly when calls complete, fail, or campaigns update. No polling required.

Complete Data

Receive full call details, transcripts, recordings, and analysis in a single webhook payload.

Reliable Delivery

Built-in retry logic ensures webhooks are delivered even if your server is temporarily unavailable.

Secure

Optional signature verification ensures webhooks are authentic and haven’t been tampered with.

Available Events

Call Events

EventWhen It FiresPayload Includes
call.queuedCall created and queuedBasic call info
call.startedCall connected to recipientConnection details
call.completedCall finished successfullyFull transcript, recording, summary
call.failedCall failed (busy, no answer, error)Error details
call.transferredCall was transferredTransfer destination

Campaign Events

EventWhen It FiresPayload Includes
campaign.startedCampaign began runningCampaign config, lead count
campaign.pausedCampaign was pausedReason, pending leads
campaign.resumedCampaign resumedCurrent stats
campaign.completedAll leads processedFinal statistics
campaign.stoppedCampaign was cancelledFinal statistics

Webhook Timing

Successful Calls

Webhooks are sent ~15 seconds after call ends to ensure:
  • Recording URL is available
  • Transcript is complete
  • Call summary is generated (if configured)

Failed Calls

Webhooks are sent immediately when the call fails (no recording to wait for).

Webhook Retries

TopCalls automatically retries failed webhook deliveries:
  • Initial attempt: Immediate
  • Retry 1: After 1 minute
  • Retry 2: After 5 minutes
  • Retry 3: After 15 minutes
  • Retry 4: After 1 hour
After 4 retries, the webhook is marked as failed. You can still retrieve call data via the API.

Next Steps