Tags, statuses & fields
The lists contacts are organised by
List lead statuses
get
/v1/lead-statusesPermission
contacts:readResponses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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-statusesPermission
contacts:writeHeaders
Idempotency-Keystring | Retry safely: the first response is replayed for 24 hoursmax 200 chars |
Request body
labelrequiredstring | 1–60 chars |
tone"neutral" | "brand" | "success" | "warning" | "danger" | "violet" | default "neutral" |
is_closedboolean | default false |
sortinteger | 0–10000 · default 500 |
Responses
201OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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:writePath parameters
idrequiredinteger | ≥ 1 |
Request body
labelstring | 1–60 chars |
tone"neutral" | "brand" | "success" | "warning" | "danger" | "violet" | default "neutral" |
is_closedboolean | default false |
sortinteger | 0–10000 · default 500 |
archivedboolean |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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-fieldsPermission
contacts:readResponses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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-fieldsPermission
contacts:writeHeaders
Idempotency-Keystring | Retry safely: the first response is replayed for 24 hoursmax 200 chars |
Request body
labelrequiredstring | 1–60 chars |
typerequired"text" | "number" | "date" | "select" | "boolean" | |
optionsstring[] | For select fieldsmax 100 items · default [] |
sortinteger | 0–10000 · default 500 |
Responses
201OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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:writePath parameters
idrequiredinteger | ≥ 1 |
Request body
labelstring | 1–60 chars |
optionsstring[] | For select fieldsmax 100 items · default [] |
sortinteger | 0–10000 · default 500 |
archivedboolean |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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
}'