DialerDay Docs

Tags, statuses & fields

The lists contacts are organised by

List tags

get/v1/tags
Permission contacts:read

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/tags \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"
Response · 200
{
  "items": [
    {
      "id": 3,
      "name": "Hot",
      "color": "danger",
      "contacts": 120
    }
  ]
}

Create a tag

post/v1/tags
Permission contacts:write

Headers

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

Request body

namerequired
string
1–60 chars
color
"neutral" | "brand" | "success" | "warning" | "danger" | "violet"
default "neutral"

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/tags \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Jane"
}'

Rename or recolor a tag

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

Path parameters

idrequired
integer
≥ 1

Request body

name
string
1–60 chars
color
"neutral" | "brand" | "success" | "warning" | "danger" | "violet"
default "neutral"

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/tags/42 \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Jane",
  "color": "neutral"
}'

Delete a tag

delete/v1/tags/{id}
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/tags/42 \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"

Tag (or untag) many contacts

post/v1/tags/{id}/contacts
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

contact_idsrequired
integer[]
max 10000 items
remove
boolean
default false

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/tags/42/contacts \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "contact_ids": [
    1
  ]
}'
Response · 200
{
  "changed": 25
}

List lead statuses

get/v1/lead-statuses
Permission contacts:read

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/lead-statuses \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"

Create a lead status

post/v1/lead-statuses
Permission contacts:write

Headers

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

Request body

labelrequired
string
1–60 chars
tone
"neutral" | "brand" | "success" | "warning" | "danger" | "violet"
default "neutral"
is_closed
boolean
default false
sort
integer
0–10000 · default 500

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/lead-statuses \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "label": "string"
}'

Update a lead status

patch/v1/lead-statuses/{id}
Permission contacts:write

Path parameters

idrequired
integer
≥ 1

Request body

label
string
1–60 chars
tone
"neutral" | "brand" | "success" | "warning" | "danger" | "violet"
default "neutral"
is_closed
boolean
default false
sort
integer
0–10000 · default 500
archived
boolean

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/lead-statuses/42 \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "label": "string",
  "tone": "neutral",
  "is_closed": false,
  "sort": 500
}'

List custom contact fields

get/v1/contact-fields
Permission contacts:read

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/contact-fields \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"

Create a custom contact field

post/v1/contact-fields
Permission contacts:write

Headers

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

Request body

labelrequired
string
1–60 chars
typerequired
"text" | "number" | "date" | "select" | "boolean"
options
string[]
For select fieldsmax 100 items · default []
sort
integer
0–10000 · default 500

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/contact-fields \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "label": "string",
  "type": "text"
}'

Update a custom contact field

patch/v1/contact-fields/{id}
Permission contacts:write

Path parameters

idrequired
integer
≥ 1

Request body

label
string
1–60 chars
options
string[]
For select fieldsmax 100 items · default []
sort
integer
0–10000 · default 500
archived
boolean

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/contact-fields/42 \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "label": "string",
  "options": [],
  "sort": 500,
  "archived": true
}'