DialerDay Docs

Webhooks

Get events such as call outcomes and incoming texts POSTed to your server, signed, with automatic retries.

Webhooks push events to your server the moment they happen: a call gets its outcome, a contact texts back, a lead runs out of attempts, an appointment is booked. Instead of polling the API, you give DialerDay an https URL and pick the events you want; each one arrives as a signed JSON POST.

You can subscribe a URL in two ways:

  • In the app, under Settings → Webhooks. Best for a fixed integration you set up once.
  • With the API (REST hooks), POST /v1/hooks. This is how Zapier and Make subscribe themselves, and how your own app can subscribe when a customer connects it.

Both kinds get exactly the same deliveries, signatures and retries.

Subscribing in the app

Managers can add webhooks, and your plan must include Webhooks.

  1. Open Settings → Webhooks (app.dialerday.com/settings/integrations).
  2. Enter the URL. It must be a public https:// URL.
  3. Tick the events you want. See Webhook events for what each one means.
  4. Click Add webhook. The signing secret is shown below the webhook. Copy it into your server's configuration.

Each webhook in the list has:

  • an On/Off switch: while off, nothing is sent to it (deliveries already waiting to be retried are dropped too);
  • Send test: sends a ping event right away and shows what your server answered;
  • Show secret: shows the signing secret again;
  • Delete;
  • the time and result of the last delivery attempt (HTTP 200, or the error).

Note

The webhooks list shows every webhook of the company, including those Zapier, Make or your code subscribed through the API.

Subscribing with the API

REST hooks need an API key with webhooks:write, and your plan must include API, Make & Zapier.

bash
curl https://api.dialerday.com/v1/hooks \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/dialerday/webhooks",
    "events": ["call.completed", "sms.received"]
  }'
json
{ "id": 14, "secret": "whsec_3f9a…" }
FieldRequiredMeaning
urlyesA public https:// URL
eventsyesOne or more event names from Webhook events
sourcenoapi (default), zapier or make: who made it, shown in the app

The secret is returned only in this response. Store it to verify signatures. (A manager can still see it later with Show secret in the app.)

The key also needs permission to read what each event carries. Subscribing to an event the key can't read answers 403 insufficient_scope:

EventsScope the key needs (read or write)
call.completedcalls:read
sms.received, sms.sent, sms.deliverymessages:read
voicemail.receivedvoicemail:read
lead.exhaustedcampaigns:read
contact.dnc_addeddnc:read
contact.created, contact.updated, contact.tag_added, contact.tag_removedcontacts:read
appointment.booked, appointment.status_changed, task.created, task.completedtasks:read
tracking.call_completed, tracking.call_converted, tracking.call_returnedtracking:read

Other endpoints:

EndpointScopeDoes
GET /v1/hooks/eventsany keyLists the event names you can subscribe to
GET /v1/hooks/sample/{event}any keyReturns a sample delivery of an event (an array with one item), for mapping fields
GET /v1/hookswebhooks:readLists the company's webhook subscriptions (all of them, including ones added in the app)
DELETE /v1/hooks/{id}webhooks:writeUnsubscribes

See the Webhooks API reference for the full details.

Subscriptions made through the API belong to the key that made them:

  • Revoking the key deletes its subscriptions.
  • Taking scopes away from the key removes the events it can no longer read from its subscriptions; a subscription left with no events is deleted.

What a delivery looks like

Each delivery is an HTTP POST with a JSON body:

http
POST /dialerday/webhooks HTTP/1.1
Host: example.com
Content-Type: application/json
User-Agent: DialerDay-Webhooks/1
X-DialerDay-Event: call.completed
X-Webhook-Signature: t=1791473584,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd

{"id":"8f14e45f-ceea-4c6b-9a7e-2a1f0e6d3b21","event":"call.completed","created_at":"2026-10-07T15:33:05.120Z","company_id":1,"data":{"id":1234,"direction":"outbound","disposition":"connected","duration_seconds":184,"contact_id":42}}

The body is always this envelope:

FieldTypeMeaning
idstring (UUID)Unique per event. The same on every retry of it. Use it to ignore duplicates.
eventstringThe event name, e.g. call.completed. Also in the X-DialerDay-Event header.
created_atstringWhen the event happened (ISO 8601, UTC)
company_idintegerYour company
dataobjectThe event's details. Its shape depends on the event: see Webhook events.

Headers:

HeaderValue
Content-Typeapplication/json
User-AgentDialerDay-Webhooks/1
X-DialerDay-EventThe event name
X-Webhook-Signaturet=<unix time>,v1=<HMAC-SHA256>: see Verifying signatures

Responding

Answer with any 2xx status within 10 seconds. The body of your answer is ignored.

Anything else counts as a failure and is retried:

  • a 3xx status (redirects are not followed: point the webhook at the final URL);
  • a 4xx or 5xx status;
  • no answer within 10 seconds;
  • a connection error (DNS, TLS, refused).

Tip

Do the work after you answer. Check the signature, store the event (or put it on a queue), answer 200, then process it. A slow handler that runs past 10 seconds causes a retry of an event you may have already handled.

Retries

A failed delivery is retried with exponential backoff, up to 10 attempts in all:

AttemptSent about… after the first attempt
1right away
210 seconds
330 seconds
41 minute 10 seconds
52 minutes 30 seconds
65 minutes 10 seconds
710 minutes 30 seconds
821 minutes 10 seconds
942 minutes 30 seconds
101 hour 25 minutes

Each wait doubles (10 s, 20 s, 40 s…), so the last attempt comes about 1.5 hours after the event. After the tenth failure that event is dropped for that URL. Retries are kept across DialerDay restarts and deploys.

Every retry carries the same body (same id), with a fresh timestamp and signature.

Things to know:

  • No automatic disabling. A webhook that keeps failing stays on; each event is simply retried and dropped. Watch the "last delivery" line in Settings → Webhooks, or turn the webhook off while your endpoint is down.
  • Turning a webhook off or deleting it stops pending retries too: they are dropped, not saved for later.
  • Order is not guaranteed. Deliveries run in parallel and retries come later, so a sms.delivery can arrive before its sms.sent. Use created_at and the IDs in data to put things in order.
  • Duplicates are possible. DialerDay sends each event once, but if your server handled it and the answer was lost or late, the retry brings it again. Keep the ids you've processed (a day or two is plenty) and skip repeats.

Delivery rules

  • https only, public addresses only. URLs must use https:// and resolve to a public IP address. Private, loopback and link-local addresses are refused when you add the webhook and again on every delivery (so a DNS name that later points at a private address doesn't work either). To test against your laptop, use a tunnel such as ngrok or Cloudflare Tunnel.
  • Each event once. DialerDay runs on several servers; each event is claimed by exactly one of them, so you don't get one copy per server.
  • Repeated facts in the same minute are merged. For contact, appointment and task events, the exact same change to the same contact within the same minute is sent once.

Testing

  • Send test in Settings → Webhooks sends this right away (it is signed like any other delivery, and not retried):

    json
    { "id": "…", "event": "ping", "created_at": "2026-10-07T15:30:00.000Z", "company_id": 1, "data": {} }
  • GET /v1/hooks/sample/{event} returns a sample of any event, to build your handler before real events happen.

  • A free request inspector such as webhook.site shows exactly what arrives.

Workflow "Send webhook" step

A workflow can also post to one of your webhooks with its Send webhook step, whatever events the webhook is subscribed to (it must be on). Those deliveries have the event name workflow.step, are signed and retried the same way, and carry:

json
{
  "id": "…",
  "event": "workflow.step",
  "created_at": "2026-10-07T15:30:00.000Z",
  "company_id": 1,
  "data": {
    "workflow_id": 5,
    "run_id": 812,
    "trigger": { },
    "contact": {
      "id": 42,
      "first_name": "Jane",
      "last_name": "Doe",
      "phone": "+15551234567",
      "email": "jane@example.com",
      "company": "Acme",
      "status": "interested",
      "owner_id": 7
    }
  }
}

trigger holds what started the workflow run.

Next