DialerDay Docs

Contacts

Leads and customers: fields, custom fields, owner, status, do-not-disturb, tags, other numbers, consent

List or search contacts

get/v1/contacts
Permission contacts:read

Query parameters

limit
integer
Up to 2001–200 · default 50
offset
integer
default 0
search
string
Name, phone, email or companymax 100 chars
phone
string
Exact number (any format): the contact with it as main or other numbermax 30 chars
status
string
Lead status keymax 40 chars
owner_id
"none" | integer
A team member id, or "none" for unassigned
tag_id
integer
not_called
"ever" | "7d" | "30d"
field
string
Custom field key: contacts with it setmax 40 chars
field_value
string
…set to this valuemax 200 chars

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/contacts \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"
Response · 200
{
  "items": [
    {
      "id": 42,
      "first_name": "Jane",
      "last_name": "Doe",
      "phone": "+15551234567",
      "email": "jane@example.com",
      "company": "Acme",
      "status_key": "interested",
      "owner_id": 7,
      "owner_name": "Sam Rep",
      "dnd_call": false,
      "dnd_sms": false,
      "lead_timezone": "America/New_York",
      "custom": {
        "budget": 5000
      },
      "tags": [
        {
          "id": 3,
          "name": "Hot",
          "color": "danger"
        }
      ],
      "created_at": "2026-10-07T15:30:00Z",
      "updated_at": "2026-10-07T15:30:00Z"
    }
  ],
  "total": 1
}

Create a contact

post/v1/contacts
Permission contacts:write

Fails with 409 when a contact already has this number; use POST /v1/contacts/upsert to create or update.

Permission: contacts:write

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

first_name
string
max 100 chars
last_name
string
max 100 chars
phonerequired
string
Any format; stored as E.1643–30 chars
email
string (email) | null
company
string | null
notes
string | null
timezone
string | null
IANA zone, e.g. America/Chicago
extension
string | null
lead_source
string | null
lead_website
string | null
crm_reference
string | null
street
string | null
city
string | null
state
string | null
postal_code
string | null
country
string | null
language
string | null
custom
object
Custom field values by field key (or label); null or "" clears one
status_key
string | null
A lead status key (GET /v1/lead-statuses); null clears it
owner_id
integer | null
Team member who owns the lead; null unassigns
dnd
object
Do-not-disturb per channel
call
boolean
sms
boolean
tag_ids
integer[]
Tags to addmax 50 items
tag_names
string[]
Tags to add by name; missing ones are createdmax 50 items

Responses

  • 201OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/contacts \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "first_name": "Jane",
  "last_name": "Doe",
  "phone": "+15551234567",
  "email": "jane@example.com",
  "custom": {
    "budget": 5000
  },
  "tag_names": [
    "Hot"
  ]
}'
Response · 201
{
  "id": 42,
  "first_name": "Jane",
  "last_name": "Doe",
  "phone": "+15551234567",
  "email": "jane@example.com",
  "company": "Acme",
  "status_key": "interested",
  "owner_id": 7,
  "owner_name": "Sam Rep",
  "dnd_call": false,
  "dnd_sms": false,
  "lead_timezone": "America/New_York",
  "custom": {
    "budget": 5000
  },
  "tags": [
    {
      "id": 3,
      "name": "Hot",
      "color": "danger"
    }
  ],
  "created_at": "2026-10-07T15:30:00Z",
  "updated_at": "2026-10-07T15:30:00Z"
}

Get a contact

get/v1/contacts/{id}
Permission contacts:read

Path parameters

idrequired
integer
≥ 1

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/contacts/42 \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"
Response · 200
{
  "id": 42,
  "first_name": "Jane",
  "last_name": "Doe",
  "phone": "+15551234567",
  "email": "jane@example.com",
  "company": "Acme",
  "status_key": "interested",
  "owner_id": 7,
  "owner_name": "Sam Rep",
  "dnd_call": false,
  "dnd_sms": false,
  "lead_timezone": "America/New_York",
  "custom": {
    "budget": 5000
  },
  "tags": [
    {
      "id": 3,
      "name": "Hot",
      "color": "danger"
    }
  ],
  "created_at": "2026-10-07T15:30:00Z",
  "updated_at": "2026-10-07T15:30:00Z"
}

Update a contact

patch/v1/contacts/{id}
Permission contacts:write

Only the fields sent change. tag_ids / tag_names add tags; remove one with DELETE /v1/contacts/{id}/tags/{tag_id}.

Permission: contacts:write

Path parameters

idrequired
integer
≥ 1

Request body

first_name
string
max 100 chars
last_name
string
max 100 chars
phone
string
Any format; stored as E.1643–30 chars
email
string (email) | null
company
string | null
notes
string | null
timezone
string | null
IANA zone, e.g. America/Chicago
extension
string | null
lead_source
string | null
lead_website
string | null
crm_reference
string | null
street
string | null
city
string | null
state
string | null
postal_code
string | null
country
string | null
language
string | null
custom
object
Custom field values by field key (or label); null or "" clears one
status_key
string | null
A lead status key (GET /v1/lead-statuses); null clears it
owner_id
integer | null
Team member who owns the lead; null unassigns
dnd
object
Do-not-disturb per channel
call
boolean
sms
boolean
tag_ids
integer[]
Tags to addmax 50 items
tag_names
string[]
Tags to add by name; missing ones are createdmax 50 items

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X PATCH https://api.dialerday.com/v1/contacts/42 \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "status_key": "interested",
  "dnd": {
    "sms": true
  },
  "custom": {
    "budget": 7500
  }
}'
Response · 200
{
  "id": 42,
  "first_name": "Jane",
  "last_name": "Doe",
  "phone": "+15551234567",
  "email": "jane@example.com",
  "company": "Acme",
  "status_key": "interested",
  "owner_id": 7,
  "owner_name": "Sam Rep",
  "dnd_call": false,
  "dnd_sms": false,
  "lead_timezone": "America/New_York",
  "custom": {
    "budget": 5000
  },
  "tags": [
    {
      "id": 3,
      "name": "Hot",
      "color": "danger"
    }
  ],
  "created_at": "2026-10-07T15:30:00Z",
  "updated_at": "2026-10-07T15:30:00Z"
}

Delete a contact

delete/v1/contacts/{id}
Permission contacts:write

Also takes it out of its campaigns and deletes its tags, tasks, other numbers, consent records and workflow runs. Its calls, texts, payments and appointments stay in your history, no longer linked to a contact.

Permission: contacts:write

Path parameters

idrequired
integer
≥ 1

Responses

  • 204Done
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X DELETE https://api.dialerday.com/v1/contacts/42 \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"

Create or update a contact by phone number

post/v1/contacts/upsert
Permission contacts:write

Finds the contact by phone (main or other number) and updates the fields sent, or creates it. Returns created.

Permission: contacts:write

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

first_name
string
max 100 chars
last_name
string
max 100 chars
phonerequired
string
Any format; stored as E.1643–30 chars
email
string (email) | null
company
string | null
notes
string | null
timezone
string | null
IANA zone, e.g. America/Chicago
extension
string | null
lead_source
string | null
lead_website
string | null
crm_reference
string | null
street
string | null
city
string | null
state
string | null
postal_code
string | null
country
string | null
language
string | null
custom
object
Custom field values by field key (or label); null or "" clears one
status_key
string | null
A lead status key (GET /v1/lead-statuses); null clears it
owner_id
integer | null
Team member who owns the lead; null unassigns
dnd
object
Do-not-disturb per channel
call
boolean
sms
boolean
tag_ids
integer[]
Tags to addmax 50 items
tag_names
string[]
Tags to add by name; missing ones are createdmax 50 items

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/contacts/upsert \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone": "+15551234567",
  "first_name": "Jane",
  "status_key": "interested",
  "owner_id": 7
}'
Response · 200
{
  "created": false,
  "contact": {
    "id": 42,
    "first_name": "Jane",
    "last_name": "Doe",
    "phone": "+15551234567",
    "email": "jane@example.com",
    "company": "Acme",
    "status_key": "interested",
    "owner_id": 7,
    "owner_name": "Sam Rep",
    "dnd_call": false,
    "dnd_sms": false,
    "lead_timezone": "America/New_York",
    "custom": {
      "budget": 5000
    },
    "tags": [
      {
        "id": 3,
        "name": "Hot",
        "color": "danger"
      }
    ],
    "created_at": "2026-10-07T15:30:00Z",
    "updated_at": "2026-10-07T15:30:00Z"
  }
}

Add a note

post/v1/contacts/{id}/notes
Permission contacts:write

Appended to the contact’s notes with today’s date and the name of the API key’s owner.

Permission: contacts:write

Path parameters

idrequired
integer
≥ 1

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

textrequired
string
1–5000 chars

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/contacts/42/notes \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "string"
}'
Response · 200
{
  "id": 42,
  "first_name": "Jane",
  "last_name": "Doe",
  "phone": "+15551234567",
  "email": "jane@example.com",
  "company": "Acme",
  "status_key": "interested",
  "owner_id": 7,
  "owner_name": "Sam Rep",
  "dnd_call": false,
  "dnd_sms": false,
  "lead_timezone": "America/New_York",
  "custom": {
    "budget": 5000
  },
  "tags": [
    {
      "id": 3,
      "name": "Hot",
      "color": "danger"
    }
  ],
  "created_at": "2026-10-07T15:30:00Z",
  "updated_at": "2026-10-07T15:30:00Z"
}

Add tags to a contact

post/v1/contacts/{id}/tags
Permission contacts:write

Path parameters

idrequired
integer
≥ 1

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

tag_ids
integer[]
Tags to addmax 50 items
tag_names
string[]
Tags to add by name; missing ones are createdmax 50 items

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/contacts/42/tags \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tag_ids": [
    1
  ],
  "tag_names": [
    "Jane"
  ]
}'
Response · 200
{
  "id": 42,
  "first_name": "Jane",
  "last_name": "Doe",
  "phone": "+15551234567",
  "email": "jane@example.com",
  "company": "Acme",
  "status_key": "interested",
  "owner_id": 7,
  "owner_name": "Sam Rep",
  "dnd_call": false,
  "dnd_sms": false,
  "lead_timezone": "America/New_York",
  "custom": {
    "budget": 5000
  },
  "tags": [
    {
      "id": 3,
      "name": "Hot",
      "color": "danger"
    }
  ],
  "created_at": "2026-10-07T15:30:00Z",
  "updated_at": "2026-10-07T15:30:00Z"
}

Remove a tag from a contact

delete/v1/contacts/{id}/tags/{tagId}
Permission contacts:write

Path parameters

idrequired
integer
≥ 1
tagIdrequired
integer
≥ 1

Responses

  • 204Done
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X DELETE https://api.dialerday.com/v1/contacts/42/tags/42 \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"

A contact’s other numbers

get/v1/contacts/{id}/phones
Permission contacts:read

Mobile, home, work…: tried in order by vertical dialing.

Permission: contacts:read

Path parameters

idrequired
integer
≥ 1

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/contacts/42/phones \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"

Replace a contact’s other numbers

put/v1/contacts/{id}/phones
Permission contacts:write

Path parameters

idrequired
integer
≥ 1

Request body

phonesrequired
object[]
max 20 items
phonerequired
string
3–40 chars
label
"mobile" | "home" | "work" | "other"
default "other"

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X PUT https://api.dialerday.com/v1/contacts/42/phones \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phones": [
    {
      "phone": "+15551234567"
    }
  ]
}'

A contact’s consent records (TCPA)

get/v1/contacts/{id}/consents
Permission contacts:read

Path parameters

idrequired
integer
≥ 1

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/contacts/42/consents \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"

Record consent to be called

post/v1/contacts/{id}/consents
Permission contacts:write

Path parameters

idrequired
integer
≥ 1

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

kindrequired
"pewc" | "pec" | "ebr"
pewc: prior express written consent; pec: prior express consent; ebr: established business relationship
source
"manual" | "import" | "api" | "webhook" | "webform" | "verbal" | "ghl" | "crm" | "workflow"
default "api"
phone
string | null
The number the consent covers (default: the main number)
captured_at
string (date-time) | string | null
expires_at
string (date-time) | string | null
evidence_url
string | null
e.g. a TrustedForm certificate URL
lead_id_token
string | null
Jornaya LeadiD
ip_address
string | null
disclosure
string | null
notes
string | null

Responses

  • 201OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/contacts/42/consents \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "pewc"
}'

Revoke a consent record

post/v1/contacts/{id}/consents/{consentId}/revoke
Permission contacts:write

Path parameters

idrequired
integer
≥ 1
consentIdrequired
integer
≥ 1

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

reason
string | null

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/contacts/42/consents/42/revoke \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "string"
}'