Browse documentation

DocsDevelopers

Outbound webhooks

Send call and appointment events to Zapier, n8n, Make, or any HTTPS endpoint, with signed requests.

#Set up a webhook

  1. Create an HTTPS endpoint that accepts POST requests with a JSON body, or create a webhook trigger in Zapier, n8n or Make.
  2. Open Dashboard → Integrations → Outbound Webhook and click Connect.
  3. Paste the endpoint URL.
  4. Optionally set a signing secret. We recommend it: it lets your server prove that a request really came from TellDesk.
  5. Choose which events to receive, save, then click Send test.

One webhook endpoint is supported per business.

#Events

EventFired when
call.completedA call's outcome and analysis have been recorded. Includes summary and sentiment. Never sent for in-browser test calls.
call.startedA call connects to your agent. Never sent for in-browser test calls.
call.missedA finished call that looks missed: voicemail, no answer, busy, failed, or shorter than 5 seconds. Sent in addition to call.completed.
lead.capturedA call ended without a booking but the caller left a name and/or email. Sent in addition to call.completed.
appointment.createdAn appointment is booked, right after the confirmation email is sent.

You choose which events to receive in the webhook settings.

#Request format

Headers
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.

Body
{
  "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

FieldDescription
callIdTellDesk call id.
callerPhoneCaller's number, E.164.
directioninbound or outbound.
startedAtISO 8601 timestamp.

call.missed

FieldDescription
callIdTellDesk call id.
callerPhoneCaller's number, E.164.
reasonWhy the call counts as missed.
durationSecondsLength of the call.
startedAtISO 8601 timestamp.
endedAtISO 8601 timestamp.

lead.captured

FieldDescription
callIdTellDesk call id.
callerPhoneCaller's number, E.164.
nameName the caller gave, if any.
emailEmail the caller gave, if any.
serviceService they asked about.
notesNotes captured during the call.
summaryCall summary.

appointment.created

{
  "appointmentId": "...",
  "businessId": "...",
  "customerName": "Jane Doe",
  "customerPhone": "+15551234567",
  "customerEmail": "[email protected]",
  "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}`)
Node.js
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 2xx response counts as delivered.
  • 5xx, 429, timeouts and network errors are retried with backoff. Other 4xx responses are not retried.
  • Redirects are not followed. Give TellDesk the final URL.
  • A 410 Gone response 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.

Need a hand? Email [email protected] and we will reply within 1 business day.