Calls
Call history, recordings, transcripts, AI and outcomes
Call history
get
/v1/callsPermission
calls:readNewest first. Lists may be repeated or comma separated (outcomes=booked,interested). Times are ISO 8601 with an offset.
Permission: calls:read
Query parameters
contact_idinteger | |
agent_idinteger | |
agent_idsstring | string[] | |
unassigned"0" | "1" | "true" | "false" | |
team_idinteger | |
fromstring (date-time) | |
tostring (date-time) | |
outcomesstring | string[] | |
no_outcome"0" | "1" | "true" | "false" | |
direction"inbound" | "outbound" | |
answered"answered" | "missed" | |
campaign_idinteger | |
min_secondsinteger | 0–86400 |
max_secondsinteger | 0–86400 |
has_recording"0" | "1" | "true" | "false" | |
has_transcript"0" | "1" | "true" | "false" | |
qstring | max 100 chars |
score_mininteger | 0–100 |
score_maxinteger | 0–100 |
sentiment"positive" | "neutral" | "negative" | |
topicstring | max 80 chars |
caller_idstring | |
limitinteger | 1–200 · default 25 |
offsetinteger | default 0 |
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 https://api.dialerday.com/v1/calls \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Response · 200
{
"items": [
{
"id": 1234,
"call_sid": "CA0123456789abcdef0123456789abcdef",
"direction": "outbound",
"from_number": "+14155550100",
"to_number": "+15551234567",
"status": "completed",
"answered_by": "human",
"started_at": "2026-10-07T15:30:00Z",
"answered_at": "2026-10-07T15:30:12Z",
"ended_at": "2026-10-07T15:33:04Z",
"duration_seconds": 184,
"recording_seconds": 172,
"disposition": "booked",
"notes": "Demo Tuesday 3pm",
"agent_id": 7,
"agent_name": "Sam Rep",
"contact_id": 42,
"contact_name": "Jane Doe",
"campaign_id": 3,
"campaign_name": "Inbound leads",
"ai_score": 82,
"ai_sentiment": "positive",
"has_recording": true,
"recording": "https://api.example.com/v1/calls/1234/recording"
}
]
}Totals for calls matching a filter
get
/v1/calls/summaryPermission
calls:readTakes the same filters as GET /v1/calls.
Permission: calls:read
Query parameters
contact_idinteger | |
agent_idinteger | |
agent_idsstring | string[] | |
unassigned"0" | "1" | "true" | "false" | |
team_idinteger | |
fromstring (date-time) | |
tostring (date-time) | |
outcomesstring | string[] | |
no_outcome"0" | "1" | "true" | "false" | |
direction"inbound" | "outbound" | |
answered"answered" | "missed" | |
campaign_idinteger | |
min_secondsinteger | 0–86400 |
max_secondsinteger | 0–86400 |
has_recording"0" | "1" | "true" | "false" | |
has_transcript"0" | "1" | "true" | "false" | |
qstring | max 100 chars |
score_mininteger | 0–100 |
score_maxinteger | 0–100 |
sentiment"positive" | "neutral" | "negative" | |
topicstring | max 80 chars |
caller_idstring |
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 https://api.dialerday.com/v1/calls/summary \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Get a call
get
/v1/calls/{id}Permission
calls:readPath parameters
idrequiredinteger | ≥ 1 |
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 https://api.dialerday.com/v1/calls/42 \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Response · 200
{
"id": 1234,
"call_sid": "CA0123456789abcdef0123456789abcdef",
"direction": "outbound",
"from_number": "+14155550100",
"to_number": "+15551234567",
"status": "completed",
"answered_by": "human",
"started_at": "2026-10-07T15:30:00Z",
"answered_at": "2026-10-07T15:30:12Z",
"ended_at": "2026-10-07T15:33:04Z",
"duration_seconds": 184,
"recording_seconds": 172,
"disposition": "booked",
"notes": "Demo Tuesday 3pm",
"agent_id": 7,
"agent_name": "Sam Rep",
"contact_id": 42,
"contact_name": "Jane Doe",
"campaign_id": 3,
"campaign_name": "Inbound leads",
"ai_score": 82,
"ai_sentiment": "positive",
"has_recording": true,
"recording": "https://api.example.com/v1/calls/1234/recording"
}Download the recording (MP3)
get
/v1/calls/{id}/recordingPermission
calls:readA call recorded in parts (holds, transfers) has part 1, 2…; without it you get the first.
Permission: calls:read
Path parameters
idrequiredinteger | ≥ 1 |
Query parameters
partinteger |
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 https://api.dialerday.com/v1/calls/42/recording \
-H "Authorization: Bearer $DIALERDAY_API_KEY"The call’s transcript
get
/v1/calls/{id}/transcriptPermission
calls:readPath parameters
idrequiredinteger | ≥ 1 |
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 https://api.dialerday.com/v1/calls/42/transcript \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Response · 200
{
"items": [
{
"speaker": "agent",
"text": "Hi Jane, this is Sam from Acme.",
"start_ms": 1200,
"end_ms": 3400
}
]
}AI summary, score and answers for a call
get
/v1/calls/{id}/aiPermission
calls:readNeeds an AI provider set up (Settings → AI).
Needs AI call reviews in your plan.
Permission: calls:read
Path parameters
idrequiredinteger | ≥ 1 |
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 https://api.dialerday.com/v1/calls/42/ai \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Run the AI analysis now
post
/v1/calls/{id}/ai/analyzePermission
calls:writeNeeds AI call reviews in your plan.
Permission: calls:write
Path parameters
idrequiredinteger | ≥ 1 |
Headers
Idempotency-Keystring | Retry safely: the first response is replayed for 24 hoursmax 200 chars |
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 POST https://api.dialerday.com/v1/calls/42/ai/analyze \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Set or correct a call’s outcome
put
/v1/calls/{id}/outcomePermission
calls:writeFor an ended call. The outcome’s effects follow as in the app: the campaign entry, the do-not-call list and appointments.
Permission: calls:write
Path parameters
idrequiredinteger | ≥ 1 |
Request body
dispositionrequiredstring | An outcome key (GET /v1/dispositions) |
notesstring | null |
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 PUT https://api.dialerday.com/v1/calls/42/outcome \
-H "Authorization: Bearer $DIALERDAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"disposition": "string"
}'Response · 200
{
"id": 1234,
"call_sid": "CA0123456789abcdef0123456789abcdef",
"direction": "outbound",
"from_number": "+14155550100",
"to_number": "+15551234567",
"status": "completed",
"answered_by": "human",
"started_at": "2026-10-07T15:30:00Z",
"answered_at": "2026-10-07T15:30:12Z",
"ended_at": "2026-10-07T15:33:04Z",
"duration_seconds": 184,
"recording_seconds": 172,
"disposition": "booked",
"notes": "Demo Tuesday 3pm",
"agent_id": 7,
"agent_name": "Sam Rep",
"contact_id": 42,
"contact_name": "Jane Doe",
"campaign_id": 3,
"campaign_name": "Inbound leads",
"ai_score": 82,
"ai_sentiment": "positive",
"has_recording": true,
"recording": "https://api.example.com/v1/calls/1234/recording"
}Call outcomes
get
/v1/dispositionsfinal is kept for older integrations (same as is_final).
Any valid key
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 https://api.dialerday.com/v1/dispositions \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Response · 200
{
"items": [
{
"key": "booked",
"label": "Booked",
"final": true,
"is_final": true,
"books_appointment": true
}
]
}Create a call outcome
post
/v1/dispositionsPermission
calls:writeHeaders
Idempotency-Keystring | Retry safely: the first response is replayed for 24 hoursmax 200 chars |
Request body
labelrequiredstring | 1–60 chars |
is_finalboolean | Ends the lead in its campaigndefault false |
counts_as_connectedboolean | default false |
adds_to_dncboolean | default false |
books_appointmentboolean | default false |
tone"neutral" | "brand" | "success" | "warning" | "danger" | "violet" | default "neutral" |
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/dispositions \
-H "Authorization: Bearer $DIALERDAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"label": "string"
}'Update a call outcome
patch
/v1/dispositions/{id}Permission
calls:writePath parameters
idrequiredinteger | ≥ 1 |
Request body
labelstring | 1–60 chars |
is_finalboolean | Ends the lead in its campaigndefault false |
counts_as_connectedboolean | default false |
adds_to_dncboolean | default false |
books_appointmentboolean | default false |
tone"neutral" | "brand" | "success" | "warning" | "danger" | "violet" | default "neutral" |
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/dispositions/42 \
-H "Authorization: Bearer $DIALERDAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"label": "string",
"is_final": false,
"counts_as_connected": false,
"adds_to_dnc": false
}'