Developer platform · v2

API reference

View as MarkdownAll docs

Call lists

40 operations · all resources

What this covers#

Upload people to call (CSV, Excel, a Google Sheet or JSON rows), pick an agent and a phone line, set calling hours and start. Each person is called through the same door as an outbound voice session, a few at a time. The do-not-call list is here too.

Every example below runs as written once these are exported:

bash
export DVAARIK_API_KEY="dvk_..."        # project API key, server side only
export DVAARIK_TOKEN="<account access token>"   # console session, from POST /console/auth/login
export LIST_ID="<uuid>"
export PHONE_NUMBER="<uuid>"
export PROJECT_ID="<uuid>"

A <value> inside a JSON body is a value you supply. Responses are JSON; every error body is { "detail": … }. Each schema is expanded once per page, where it first appears.

Machine door errors#

Raised by the project-key dependency before any handler on this page runs.

StatusCause
401Missing API key or Invalid API key — the X-Api-Key header is absent, unknown, or revoked.
403API key is not scoped to a project, Project unavailable, or API key is missing the required scope '<scope>'.
429The project's api_rpm ceiling was exceeded. Honour Retry-After; X-RateLimit-* headers are on every response.

Account door errors#

StatusCause
401No account session was presented, or it is invalid or expired. Refresh once, then re-authenticate.
403The account is suspended or its email is not verified.

Operations — project API key#

Call these from your own server with a project key. Never from a browser or a mobile bundle.

GET /v2/call-lists#

List the project's call lists, newest first, with how far each has got.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationlistCallLists
Success200 CallListPage
ParameterInTypeRequiredNotes
limitqueryintegerno
offsetqueryintegerno

CallListPage#

FieldTypeRequiredNotes
dataCallListInfo[]yes

CallListInfo#

FieldTypeRequiredNotes
agent_iduuid or nullyes
countsCallListCountsyes
created_atdate-timeyes
finished_atdate-time or nullyes
fromstring or nullno
iduuidyes
namestringyes
pause_reasonstring or nullyes
settingsobjectyes
started_atdate-time or nullyes
statusstringyes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X GET "https://api.developers.dvaarik.com/v2/call-lists?limit=20" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

POST /v2/call-lists#

Make a call list for one agent and one phone line. Nobody is called until you start it.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationcreateCallList
Success201 CallListInfo

Request body: CallListCreate.

CallListCreate#

FieldTypeRequiredNotes
agent_iduuidyes
fromstringyes
namestringyesmin length 1; max length 120
settingsCallListSettingsno

CallListSettings#

FieldTypeRequiredNotes
calls_at_onceinteger or nullno
daysstring[]no
default_country_codestringnodefault "91"
max_attemptsintegernodefault 1
retry_after_minutesintegernodefault 60
timezonestringnodefault "Asia/Kolkata"
window_endstringnodefault "21:00"
window_startstringnodefault "09:00"

CallListCounts#

FieldTypeRequiredNotes
callingintegernodefault 0
doneintegernodefault 0
skippedintegernodefault 0
totalintegernodefault 0
waitingintegernodefault 0
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/v2/call-lists" \
  -H "X-Api-Key: $DVAARIK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_id": "<agent_id uuid>",
    "from": "<from>",
    "name": "<name>"
  }'

DELETE /v2/call-lists/{list_id}#

Delete a list and everyone on it. Pause or cancel it first.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationdeleteCallList
Success204 no body
ParameterInTypeRequiredNotes
list_idpathuuidyes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X DELETE "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

GET /v2/call-lists/{list_id}#

Read one call list: its settings, its counts and why it paused, if it did.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationgetCallList
Success200 CallListInfo
ParameterInTypeRequiredNotes
list_idpathuuidyes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X GET "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

PATCH /v2/call-lists/{list_id}#

Change a list's name, agent, phone line or settings. Only while it is a draft or paused.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationupdateCallList
Success200 CallListInfo
ParameterInTypeRequiredNotes
list_idpathuuidyes

Request body: CallListUpdate.

CallListUpdate#

FieldTypeRequiredNotes
agent_iduuid or nullno
fromstring or nullno
namestring or nullno
settingsCallListSettings or nullno
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X PATCH "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

POST /v2/call-lists/{list_id}/cancel#

End the list. Everyone not called yet is skipped; calls already ringing finish.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationcancelCallList
Success200 CallListInfo
ParameterInTypeRequiredNotes
list_idpathuuidyes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID/cancel" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

POST /v2/call-lists/{list_id}/pause#

Stop placing new calls. Calls already ringing finish.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationpauseCallList
Success200 CallListInfo
ParameterInTypeRequiredNotes
list_idpathuuidyes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID/pause" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

POST /v2/call-lists/{list_id}/preview/file#

Show how a file would be read (phone column, variables, skipped rows) without saving anything.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationpreviewCallListFile
Success200 CallListPreview
ParameterInTypeRequiredNotes
list_idpathuuidyes
filenamequerystringno
phone_columnquerystring or nullno

CallListPreview#

FieldTypeRequiredNotes
duplicatesintegeryes
headersstring[]yes
invalidintegeryes
issuesstring[]yes
phone_columnstringyes
sampleCallListPreviewRow[]yes
unused_columnsstring[]yes
would_addintegeryes

CallListPreviewRow#

FieldTypeRequiredNotes
extraobjectyes
tostringyes
variablesobjectyes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID/preview/file" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

POST /v2/call-lists/{list_id}/preview/sheet#

Show how a Google Sheet would be read without saving anything.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationpreviewCallListSheet
Success200 CallListPreview
ParameterInTypeRequiredNotes
list_idpathuuidyes

Request body: CallListSheetIn.

CallListSheetIn#

FieldTypeRequiredNotes
phone_columnstring or nullno
urlstringyesmin length 1; max length 2000
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID/preview/sheet" \
  -H "X-Api-Key: $DVAARIK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "<url>"
  }'

GET /v2/call-lists/{list_id}/results.csv#

Everyone on the list with how their call went, the call id, connected seconds and cost, as a CSV.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationdownloadCallListResults
Success200 no body
ParameterInTypeRequiredNotes
list_idpathuuidyes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X GET "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID/results.csv" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

POST /v2/call-lists/{list_id}/resume#

Carry on after a pause, once whatever paused it is fixed.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationresumeCallList
Success200 CallListInfo
ParameterInTypeRequiredNotes
list_idpathuuidyes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID/resume" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

GET /v2/call-lists/{list_id}/rows#

Page through the people with their status, tries and outcome.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationlistCallListRows
Success200 CallListRowPage
ParameterInTypeRequiredNotes
list_idpathuuidyes
status_filterquerystring or nullno
limitqueryintegerno
offsetqueryintegerno

CallListRowPage#

FieldTypeRequiredNotes
dataCallListRowInfo[]yes
next_offsetinteger or nullyes

CallListRowInfo#

FieldTypeRequiredNotes
attemptsintegeryes
call_iduuid or nullyes
detailstring or nullyes
extraobjectyes
iduuidyes
next_attempt_atdate-time or nullyes
outcomestring or nullyes
positionintegeryes
statusstringyes
tostringyes
variablesobjectyes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X GET "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID/rows?limit=20" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

POST /v2/call-lists/{list_id}/rows#

Add up to 1,000 people as JSON. Variable names must match the agent's exactly.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationaddCallListRows
Success200 CallListRowsAdded
ParameterInTypeRequiredNotes
list_idpathuuidyes

Request body: CallListRowsIn.

CallListRowsIn#

FieldTypeRequiredNotes
rowsCallListRowIn[]yesmin 1 item(s); max 1000 item(s)

CallListRowIn#

FieldTypeRequiredNotes
metadataobjectno
tostringyesmin length 1; max length 40
variablesobject<string>no

CallListRowsAdded#

FieldTypeRequiredNotes
addedintegeryes
countsCallListCountsyes
duplicatesintegeryes
invalidintegeryes
issuesstring[]yes
on_do_not_callintegeryes
phone_columnstring or nullyes
unused_columnsstring[]yes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID/rows" \
  -H "X-Api-Key: $DVAARIK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "rows": []
  }'

POST /v2/call-lists/{list_id}/rows/file#

Add people from a .csv or .xlsx sent as the raw request body (at most 5 MB, 10,000 people per list).

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationuploadCallListFile
Success200 CallListRowsAdded
ParameterInTypeRequiredNotes
list_idpathuuidyes
filenamequerystringno
phone_columnquerystring or nullno
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID/rows/file" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

POST /v2/call-lists/{list_id}/rows/sheet#

Add people from a Google Sheet shared as 'Anyone with the link can view'.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationimportCallListSheet
Success200 CallListRowsAdded
ParameterInTypeRequiredNotes
list_idpathuuidyes

Request body: CallListSheetIn.

ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID/rows/sheet" \
  -H "X-Api-Key: $DVAARIK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "<url>"
  }'

POST /v2/call-lists/{list_id}/start#

Start calling. Needs at least one person waiting, an active agent and a line that can call out.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationstartCallList
Success200 CallListInfo
ParameterInTypeRequiredNotes
list_idpathuuidyes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/v2/call-lists/$LIST_ID/start" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

GET /v2/do-not-call#

List the numbers this project never calls.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationlistDoNotCall
Success200 DoNotCallPage
ParameterInTypeRequiredNotes
limitqueryintegerno
offsetqueryintegerno

DoNotCallPage#

FieldTypeRequiredNotes
dataDoNotCallEntry[]yes
next_offsetinteger or nullyes

DoNotCallEntry#

FieldTypeRequiredNotes
created_atdate-timeyes
notestring or nullyes
phone_numberstringyes
sourcestringyes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X GET "https://api.developers.dvaarik.com/v2/do-not-call?limit=20" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

POST /v2/do-not-call#

Add numbers this project must never call. Lists skip them; a single outbound call to one is refused.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationaddDoNotCall
Success200 DoNotCallAdded

Request body: DoNotCallIn.

DoNotCallIn#

FieldTypeRequiredNotes
default_country_codestringnodefault "91"
notestring or nullno
numbersstring[]yesmin 1 item(s); max 1000 item(s)

DoNotCallAdded#

FieldTypeRequiredNotes
addedintegeryes
alreadyintegeryes
invalidstring[]yes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/v2/do-not-call" \
  -H "X-Api-Key: $DVAARIK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "numbers": []
  }'

DELETE /v2/do-not-call/{phone_number}#

Take one number off the do-not-call list.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationremoveDoNotCall
Success204 no body
ParameterInTypeRequiredNotes
phone_numberpathstringyes
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X DELETE "https://api.developers.dvaarik.com/v2/do-not-call/$PHONE_NUMBER" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

POST /v2/do-not-call/file#

Add do-not-call numbers from a .csv or .xlsx sent as the raw request body.

DetailValue
DoorProject API key — X-Api-Key: $DVAARIK_API_KEY
OperationuploadDoNotCallFile
Success200 DoNotCallAdded
ParameterInTypeRequiredNotes
filenamequerystringno
phone_columnquerystring or nullno
default_country_codequerystringno
ErrorWhen
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the machine-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/v2/do-not-call/file" \
  -H "X-Api-Key: $DVAARIK_API_KEY"

Operations — account session#

The same resource through the console door. These are what the web console calls; both doors return the same shapes.

GET /console/v2/projects/{project_id}/call-lists#

List the project's call lists, newest first, with how far each has got.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleListCallLists
Success200 CallListPage
ParameterInTypeRequiredNotes
project_idpathuuidyes
limitqueryintegerno
offsetqueryintegerno
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X GET "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists?limit=20" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

POST /console/v2/projects/{project_id}/call-lists#

Make a call list for one agent and one phone line. Nobody is called until you start it.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleCreateCallList
Success201 CallListInfo
ParameterInTypeRequiredNotes
project_idpathuuidyes

Request body: CallListCreate.

ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists" \
  -H "Authorization: Bearer $DVAARIK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_id": "<agent_id uuid>",
    "from": "<from>",
    "name": "<name>"
  }'

DELETE /console/v2/projects/{project_id}/call-lists/{list_id}#

Delete a list and everyone on it. Pause or cancel it first.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleDeleteCallList
Success204 no body
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X DELETE "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

GET /console/v2/projects/{project_id}/call-lists/{list_id}#

Read one call list: its settings, its counts and why it paused, if it did.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleGetCallList
Success200 CallListInfo
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X GET "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

PATCH /console/v2/projects/{project_id}/call-lists/{list_id}#

Change a list's name, agent, phone line or settings. Only while it is a draft or paused.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleUpdateCallList
Success200 CallListInfo
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes

Request body: CallListUpdate.

ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X PATCH "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

POST /console/v2/projects/{project_id}/call-lists/{list_id}/cancel#

End the list. Everyone not called yet is skipped; calls already ringing finish.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleCancelCallList
Success200 CallListInfo
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID/cancel" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

POST /console/v2/projects/{project_id}/call-lists/{list_id}/pause#

Stop placing new calls. Calls already ringing finish.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsolePauseCallList
Success200 CallListInfo
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID/pause" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

POST /console/v2/projects/{project_id}/call-lists/{list_id}/preview/file#

Show how a file would be read (phone column, variables, skipped rows) without saving anything.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsolePreviewCallListFile
Success200 CallListPreview
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes
filenamequerystringno
phone_columnquerystring or nullno
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID/preview/file" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

POST /console/v2/projects/{project_id}/call-lists/{list_id}/preview/sheet#

Show how a Google Sheet would be read without saving anything.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsolePreviewCallListSheet
Success200 CallListPreview
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes

Request body: CallListSheetIn.

ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID/preview/sheet" \
  -H "Authorization: Bearer $DVAARIK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "<url>"
  }'

GET /console/v2/projects/{project_id}/call-lists/{list_id}/results.csv#

Everyone on the list with how their call went, the call id, connected seconds and cost, as a CSV.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleDownloadCallListResults
Success200 no body
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X GET "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID/results.csv" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

POST /console/v2/projects/{project_id}/call-lists/{list_id}/resume#

Carry on after a pause, once whatever paused it is fixed.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleResumeCallList
Success200 CallListInfo
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID/resume" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

GET /console/v2/projects/{project_id}/call-lists/{list_id}/rows#

Page through the people with their status, tries and outcome.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleListCallListRows
Success200 CallListRowPage
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes
status_filterquerystring or nullno
limitqueryintegerno
offsetqueryintegerno
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X GET "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID/rows?limit=20" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

POST /console/v2/projects/{project_id}/call-lists/{list_id}/rows#

Add up to 1,000 people as JSON. Variable names must match the agent's exactly.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleAddCallListRows
Success200 CallListRowsAdded
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes

Request body: CallListRowsIn.

ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID/rows" \
  -H "Authorization: Bearer $DVAARIK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "rows": []
  }'

POST /console/v2/projects/{project_id}/call-lists/{list_id}/rows/file#

Add people from a .csv or .xlsx sent as the raw request body (at most 5 MB, 10,000 people per list).

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleUploadCallListFile
Success200 CallListRowsAdded
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes
filenamequerystringno
phone_columnquerystring or nullno
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID/rows/file" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

POST /console/v2/projects/{project_id}/call-lists/{list_id}/rows/sheet#

Add people from a Google Sheet shared as 'Anyone with the link can view'.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleImportCallListSheet
Success200 CallListRowsAdded
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes

Request body: CallListSheetIn.

ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID/rows/sheet" \
  -H "Authorization: Bearer $DVAARIK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "<url>"
  }'

POST /console/v2/projects/{project_id}/call-lists/{list_id}/start#

Start calling. Needs at least one person waiting, an active agent and a line that can call out.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleStartCallList
Success200 CallListInfo
ParameterInTypeRequiredNotes
list_idpathuuidyes
project_idpathuuidyes
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/call-lists/$LIST_ID/start" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

GET /console/v2/projects/{project_id}/do-not-call#

List the numbers this project never calls.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleListDoNotCall
Success200 DoNotCallPage
ParameterInTypeRequiredNotes
project_idpathuuidyes
limitqueryintegerno
offsetqueryintegerno
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X GET "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/do-not-call?limit=20" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

POST /console/v2/projects/{project_id}/do-not-call#

Add numbers this project must never call. Lists skip them; a single outbound call to one is refused.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleAddDoNotCall
Success200 DoNotCallAdded
ParameterInTypeRequiredNotes
project_idpathuuidyes

Request body: DoNotCallIn.

ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/do-not-call" \
  -H "Authorization: Bearer $DVAARIK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "numbers": []
  }'

DELETE /console/v2/projects/{project_id}/do-not-call/{phone_number}#

Take one number off the do-not-call list.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleRemoveDoNotCall
Success204 no body
ParameterInTypeRequiredNotes
phone_numberpathstringyes
project_idpathuuidyes
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X DELETE "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/do-not-call/$PHONE_NUMBER" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

POST /console/v2/projects/{project_id}/do-not-call/file#

Add do-not-call numbers from a .csv or .xlsx sent as the raw request body.

DetailValue
DoorAccount session — Authorization: Bearer $DVAARIK_TOKEN
OperationconsoleUploadDoNotCallFile
Success200 DoNotCallAdded
ParameterInTypeRequiredNotes
project_idpathuuidyes
filenamequerystringno
phone_columnquerystring or nullno
default_country_codequerystringno
ErrorWhen
401No account session was presented, or it is invalid or expired.
403The account is suspended or its email is not verified.
404The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409The project or resource is in a state that refuses this change.
422The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.

Plus the account-door errors above. Full list on the errors page.

bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/projects/$PROJECT_ID/do-not-call/file" \
  -H "Authorization: Bearer $DVAARIK_TOKEN"

Try it without a key in the browser

The playground opens a real voice session with your account session, so a project key never reaches a browser. Machine calls belong on your own server.