DocsDevelopers
Outbound webhooks
Send call and appointment events to Zapier, n8n, Make, or any HTTPS endpoint, with signed requests.
#Set up a webhook
- Create an HTTPS endpoint that accepts
POSTrequests with a JSON body, or create a webhook trigger in Zapier, n8n or Make. - Open Dashboard → Integrations → Outbound Webhook and click Connect.
- Paste the endpoint URL.
- Optionally set a signing secret. We recommend it: it lets your server prove that a request really came from TellDesk.
- Choose which events to receive, save, then click Send test.
One webhook endpoint is supported per business.
#Events
| Event | Fired when |
|---|---|
call.completed | A call's outcome and analysis have been recorded. Includes summary and sentiment. Never sent for in-browser test calls. |
call.started | A call connects to your agent. Never sent for in-browser test calls. |
call.missed | A finished call that looks missed: voicemail, no answer, busy, failed, or shorter than 5 seconds. Sent in addition to call.completed. |
lead.captured | A call ended without a booking but the caller left a name and/or email. Sent in addition to call.completed. |
appointment.created | An appointment is booked, right after the confirmation email is sent. |
You choose which events to receive in the webhook settings.
#Request format
POST <your endpoint>
Content-Type: application/json
User-Agent: TellDesk-Webhooks/1.0
X-TellDesk-Event: call.completed
X-TellDesk-Delivery-Id: call.completed:3fbb2e1e-...
X-TellDesk-Timestamp: 1735689600
X-TellDesk-Signature: sha256=8f2b... (only when a signing secret is set)X-TellDesk-Delivery-Id is stable for a given event, so retries reuse it. Use it to de-duplicate on your side.
{
"event": "call.completed",
"timestamp": "2026-01-01T00:00:00.000Z",
"data": { ... }
}#Payloads
call.completed
{
"callId": "3fbb2e1e-...",
"callerPhone": "+15551234567",
"outcome": "booked",
"service": "Teeth Cleaning",
"summary": "Caller booked a cleaning for Tuesday.",
"sentiment": "Positive",
"durationSeconds": 142,
"startedAt": "2026-01-01T00:00:00.000Z",
"endedAt": "2026-01-01T00:02:22.000Z"
}summary can be null when no summary is available.
call.started
| Field | Description |
|---|---|
callId | TellDesk call id. |
callerPhone | Caller's number, E.164. |
direction | inbound or outbound. |
startedAt | ISO 8601 timestamp. |
call.missed
| Field | Description |
|---|---|
callId | TellDesk call id. |
callerPhone | Caller's number, E.164. |
reason | Why the call counts as missed. |
durationSeconds | Length of the call. |
startedAt | ISO 8601 timestamp. |
endedAt | ISO 8601 timestamp. |
lead.captured
| Field | Description |
|---|---|
callId | TellDesk call id. |
callerPhone | Caller's number, E.164. |
name | Name the caller gave, if any. |
email | Email the caller gave, if any. |
service | Service they asked about. |
notes | Notes captured during the call. |
summary | Call summary. |
appointment.created
{
"appointmentId": "...",
"businessId": "...",
"customerName": "Jane Doe",
"customerPhone": "+15551234567",
"customerEmail": "jane@example.com",
"service": "Teeth Cleaning",
"startsAt": "2026-01-02T14:00:00.000Z",
"endsAt": "2026-01-02T14:30:00.000Z",
"status": "confirmed"
}#Verify the signature
When a signing secret is set, each request carries X-TellDesk-Signature: sha256=<hex>, where the digest is:
HMAC-SHA256(secret, `${X-TellDesk-Timestamp}.${raw request body}`)import { createHmac, timingSafeEqual } from "node:crypto";
function verify(rawBody, headers, secret) {
const timestamp = headers.get("x-telldesk-timestamp");
const signature = headers.get("x-telldesk-signature"); // "sha256=<hex>"
if (!timestamp || !signature?.startsWith("sha256=")) return false;
// Reject requests older than 5 minutes (replay protection).
if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;
const expected = createHmac("sha256", secret)
.update(`${timestamp}.${rawBody}`)
.digest("hex");
const provided = signature.slice("sha256=".length);
try {
return timingSafeEqual(Buffer.from(expected, "hex"), Buffer.from(provided, "hex"));
} catch {
return false;
}
}#Delivery and retries
- Any
2xxresponse counts as delivered. 5xx,429, timeouts and network errors are retried with backoff. Other4xxresponses are not retried.- Redirects are not followed. Give TellDesk the final URL.
- A
410 Goneresponse deactivates the webhook until you reconfigure it. - Endpoints must use HTTPS and must not resolve to a private, loopback or link-local address.
#Zapier, n8n and Make
Create a trigger with a Webhook (Zapier: Catch Hook; n8n: Webhook node; Make: Custom webhook), paste its URL into TellDesk and click Send test. The test event gives your tool a sample payload to map fields from. These tools do not need a signing secret; use one when you receive webhooks on your own server.

TellDesk