Call reports
The same numbers as the Calls tab of Reports. They come with the call totals and take the same window and the same reports access. A key user who can manage the team gets the whole team’s calls; anyone else gets only the calls they placed. For each call, use the call log.
#Calls by day
Calls placed and conversations for each day in the window, oldest first, counted in the key user’s time zone.
Parameters
daysinteger · queryDefault30- The last N days.
from, toYYYY-MM-DD · query- Whole days instead of
days.
Returns
data[]object[]- One row per day that had calls.
data[].datestring- The day,
YYYY-MM-DD. data[].dialsinteger- Calls placed that day.
data[].conversationsinteger- Of those, calls that became a conversation.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_field | A date that isn’t YYYY-MM-DD, or days that isn’t a whole number; field names it. |
| 403 | permission_denied | The key’s user has no reports access. |
| 503 | report_unavailable | The report couldn’t be read. Nothing changed; retry. |
#Calls by outcome
How many calls ended in each outcome. Every outcome is in the answer, with 0 when none, so the counts add up to dials.
Parameters
daysinteger · queryDefault30- The last N days.
from, toYYYY-MM-DD · query- Whole days instead of
days.
Returns
data.dialsinteger- Calls placed in the window.
data.countsobject- Calls per outcome. The keys are
interested,callback,not_interested,voicemail,no_answer,wrong_number,dq,answered,screened,noneandother. An outcome a rep logged wins over what the phone network reported.noneis a call with neither, andotheris an older outcome the app no longer offers.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_field | A date that isn’t YYYY-MM-DD, or days that isn’t a whole number; field names it. |
| 403 | permission_denied | The key’s user has no reports access. |
| 503 | report_unavailable | The report couldn’t be read. Nothing changed; retry. |
#Calls by rep
One row per rep who placed calls, busiest first. A key user who can’t manage the team sees only their own row.
Parameters
daysinteger · queryDefault30- The last N days.
from, toYYYY-MM-DD · query- Whole days instead of
days.
Returns
data[]object[]- One row per rep.
data[].rep_idinteger or null- The rep’s user id.
nullfor calls no rep placed. data[].namestring- The rep’s name, or their email when they have no name.
data[].dials,conversations,talk_seconds,interestedinteger- The same counts as the call totals, for this rep.
scopestringteamorrep(only the key user’s calls).
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_field | A date that isn’t YYYY-MM-DD, or days that isn’t a whole number; field names it. |
| 403 | permission_denied | The key’s user has no reports access. |
| 503 | report_unavailable | The report couldn’t be read. Nothing changed; retry. |