Webhooks
Events
Every event comes in the same envelope: id, type, created, livemode, api_version and data.object. The object is the lead or the call as the API returns it, plus a few fields of the event’s own.
Check the signature before you trust an event: see Webhooks and signatures. An event can arrive twice: skip an id you have already handled.
| Event | About | When |
|---|---|---|
lead.created |
lead | A lead was added: through POST /leads, or one Add Lead in the app. CSV imports do not send it. |
lead.queued |
lead | A lead was put in the dialing queue, right after lead.created (or when POST /leads re-queued an existing lead). status says queued, scheduled or held, with scheduled_for. |
lead.interested |
call | The AI saw buying intent. intent carries what the lead said (excerpt) and who the call is offered to (the ready SDRs first, else the closers). |
lead.opted_out |
lead | The lead’s number went on the Do Not Call list. opt_out.source says how: api, ai (the AI’s tool during the call), outcome (a DNC outcome), manual, bulk or sms (a STOP reply). One event per lead of yours with that number. |
lead.late |
lead | A speed-to-lead lead was still waiting for its call after the campaign’s late minutes (default 15). It is still called; late is true. |
call.started |
call | A call to the lead started dialing (the call record exists). |
call.answered |
call | The far end picked up. answered_by is person, machine (a voicemail box or a phone menu) or unknown (nothing checked). |
call.completed |
call | The outcome is final: outcome, the note, duration, handled_by, owner, and the API paths for the recording and transcript. An AI-only call sends it after the after-call check; a call a person handled sends it when they file the outcome (or after 10 minutes with none: outcome other, note “No outcome was filed”). A later correction sends it again with the same id, a newer updated and revision 2, 3 … |
handover.accepted |
call | A person took the call: handled_by names them (an SDR or a closer), tth_seconds is how long it took from the intent. |
voicemail.left |
call | A voicemail was delivered. Never sent for a message that was not delivered. |
callback.booked |
lead | A day and time to call the lead back was booked. callback.at is UTC; callback.timezone is the lead’s. |