Overview
If you set statusWebhookUrl when originating a call, we POST one of three lifecycle events to that URL: call.answered,call.completed, or call.failed.
Each delivery is signed with yourAPI secret — the same secret you use to sign outbound requests. Verify the signature before trusting the payload.
statusWebhookUrl. The Conversational Webhook is different: it's the URL we hit during the call itself to run your AI agent, and it expects a JSON response (including the new hangup field).Events
call.answered
Fired when the called party picks up.
{
"event": "call.answered",
"callId": "cn-ob-7f3a...",
"timestamp": "2026-05-24T17:31:14.105Z",
"metadata": { "leadId": "lead_abc123" }
}call.completed
Fired when the call ends normally.
{
"event": "call.completed",
"callId": "cn-ob-7f3a...",
"timestamp": "2026-05-24T17:32:48.992Z",
"durationSecs": 94,
"costUsd": "0.04",
"metadata": { "leadId": "lead_abc123" }
}call.failed
Fired when the call does not complete. See the failureCode reference on the Errors page.
{
"event": "call.failed",
"callId": "cn-ob-7f3a...",
"timestamp": "2026-05-24T17:31:11.500Z",
"failureCode": "no_answer",
"metadata": { "leadId": "lead_abc123" }
}Request headers we send
| Header | Value / Purpose |
|---|---|
Content-Type | application/json |
X-Timestamp | Unix seconds at delivery time; every retry is signed afresh with its own timestamp, so a ±300 s freshness check passes on retries too. Use this when verifying. |
X-Signature | hex-encoded HMAC-SHA256(yourSecret, ts + "\n" + body). |
X-Event-Source | Always callnode-outbound. Use to disambiguate from other webhook sources sharing the URL. |
Verify the signature
const expected = crypto
.createHmac('sha256', apiSecret)
.update(req.headers['x-timestamp'] + '\n' + rawBody)
.digest('hex');
if (!crypto.timingSafeEqual(
Buffer.from(expected),
Buffer.from(req.headers['x-signature'])
)) {
return res.status(401).end();
}express.json({ verify })before the body is parsed.Delivery semantics
We deliver each event at least once. Your handler must be idempotent — key on callId + event and skip duplicates.
Retries
If your endpoint returns a non-2xx status (or times out after 15 seconds), we retry with exponential backoff:
| Attempt | Delay | Cumulative time |
|---|---|---|
| 1 | immediate | 0s |
| 2 | +5 seconds | 5s |
| 3 | +30 seconds | 35s |
| 4 | +5 minutes | ~5 min |
| 5 | +30 minutes | ~35 min |
| 6 | +2 hours | ~2.5 hours |
| 7 | +6 hours | ~8.5 hours, then dropped |
Per-URL rate cap
We cap delivery to any single statusWebhookUrl at 10 events/second. Excess deliveries queue and stream at the cap.