DialerDay Docs

Authentication

How API keys work, how to send them, what each permission grants, and how to change or revoke a key.

Every request to /v1 is authenticated with an API key. A key belongs to your company, not to a person: it reaches the whole company's data within the permissions (scopes) you give it.

API keys

Managers create keys under Settings → API keys · Make · Zapier in the app. Your plan must include API, Make & Zapier; without it, /v1 requests answer 402 plan_required.

  • A key looks like dlr_ followed by 40 letters, digits, - and _.
  • It is shown once, when you create it. DialerDay stores only a SHA-256 hash, so nobody (including DialerDay support) can show it again.
  • The key list shows each key's name, its first 10 characters (dlr_AbC123…), who created it, when, and when it was last used. "Last used" is updated at most once a minute.
  • A company can have up to 20 active keys. Revoke an old one to make room.

Create one key per integration (one for the CRM sync, one for the website form, one for Zapier). Then you can see where each change came from in the audit log, give each only the permissions it needs, and cut one off without breaking the others.

Who the key acts as

Some actions record who did them, such as a note or a tag. A key acts as the manager who created it; if that person is no longer an active manager, it acts as the company's first active manager. In the audit log its changes show as that person's name with the key's name, for example Sam Rep (API key “CRM sync”). If the company has no active manager at all, requests fail with 403 no_manager.

Sending the key

Send the key in either header. Both work on every endpoint.

bash
# Authorization header (recommended)
curl https://api.dialerday.com/v1/me \
  -H "Authorization: Bearer dlr_your_key_here"

# X-API-Key header
curl https://api.dialerday.com/v1/me \
  -H "X-API-Key: dlr_your_key_here"

If both are sent, Authorization: Bearer … wins. Keys in query strings are not accepted.

Warning

Call the API from your server, never from a web page or mobile app. Anyone who can read the key can act with all of its permissions.

Permissions (scopes)

Each key has a set of scopes, one per area, at one of two levels:

  • <area>:read reads data in that area.
  • <area>:write changes data in that area and includes read. A key with contacts:write may also call endpoints that need contacts:read.

In the app you pick None, Read or Read & write for each area. A key needs at least one permission.

AreaScopesWhat it grants
Contactscontacts:read, contacts:writeContacts, tags, lead statuses, custom fields, other numbers and consent records. Write creates, updates and deletes them, adds notes and tags.
Do-not-call listdnc:read, dnc:writeRead the list and check a number; write adds and removes numbers.
Textsmessages:read, messages:writeConversations, messages, saved replies and attachments; write sends texts, archives or marks conversations read, and manages saved replies.
Callscalls:read, calls:writeCall history, recordings, transcripts and AI summaries; write sets or corrects call outcomes, manages outcome types and runs the AI analysis.
Campaignscampaigns:read, campaigns:writeCampaigns and the leads in them; write creates, starts and pauses campaigns and adds, removes, boosts, requeues and moves leads.
Tasks & callbackstasks:read, tasks:writeTasks, callbacks and appointments; write creates, completes, reschedules, reassigns and cancels them.
Teamteam:read, team:writeTeam members and teams; write adds, renames and deactivates members and manages teams.
Workflowsworkflows:read, workflows:writeList workflows; write enrolls contacts and sends events that start workflows.
Voicemailvoicemail:read, voicemail:writeVoicemails received, voicemail drops and ringless voicemail batches; write sends ringless voicemail and marks voicemails handled.
Phone numbersnumbers:readThe company's numbers (read only).
Analyticsanalytics:readReports (read only).
Paymentspayments:read, payments:writePayments taken; write sends payment links.
Webhookswebhooks:read, webhooks:writeList webhook subscriptions; write subscribes and unsubscribes URLs.
Call trackingtracking:read, tracking:writeTracked calls, campaigns, targets, buyers, numbers, reports and the block list; write converts or returns calls, changes targets, assigns numbers and blocks callers.

The permission each endpoint needs is shown on its page in the API reference and in the OpenAPI document as x-scope. A few endpoints accept any valid key: GET /v1/me, GET /v1/dispositions, GET /v1/hooks/events and GET /v1/hooks/sample/{event}.

Note

Webhook subscriptions made with a key are also limited by its scopes: a key can only subscribe to events whose data it could read. For example call.completed needs calls:read and sms.received needs messages:read. See Webhooks.

Plan features

Scopes say what a key may do; your plan says what your company has. Some endpoints also need a plan feature, for example texting endpoints need Texting & shared inbox, /v1/workflows and /v1/events need Workflows, and /v1/tracking/* needs Call tracking. The reference says "Needs … in your plan" on those endpoints. Without the feature you get 402 plan_required.

Errors

401: missing or invalid key

json
{ "error": "unauthorized", "message": "Not authenticated" }

You get this when:

  • no key was sent, or it doesn't look like a DialerDay key (dlr_…);
  • the key is wrong or was revoked;
  • the company is deactivated or suspended.

403: missing permission

json
{
  "required": "contacts:write",
  "error": "insufficient_scope",
  "message": "This API key needs the contacts:write permission"
}

required names the scope to add. A manager can add it under Permissions next to the key; the change applies to the key's next request.

Other 403 codes you may see: no_manager (the company has no active manager for the key to act as).

402: not in your plan

402 means the request is fine but your plan does not allow it: plan_required (the feature isn't in your plan), plan_limit (a limit such as seats or campaigns is reached) or subscription_inactive (no active plan). See Conventions.

Changing permissions

Click Permissions next to a key to change its scopes. The change takes effect on the key's next request.

When you take permissions away, the key's own webhook subscriptions keep only the events the key can still read. A subscription left with no events is deleted.

Rotating a key

Keys don't expire. There is no "regenerate" button; to rotate a key:

  1. Create a new key with the same permissions and a clear name (for example CRM sync 2026-12).
  2. Deploy it wherever the old key is used.
  3. Check it is in use. The new key's "last used" time moves (within a minute) and the old one stops moving.
  4. Revoke the old key.

Revoking a key

Click Revoke next to the key. It stops working right away: the next request with it gets 401.

Revoking also deletes every webhook subscription that was made with that key through POST /v1/hooks (for example by Zapier or Make). Webhooks a manager added under Settings → Webhooks are not tied to a key and keep working.

Revoked keys stay in the list, marked Revoked, so you can still see what they were.