Campaigns
Launch a campaign's calls
https://www.getrevox.com/api/campaigns/{id}/launch-callsSend the campaign's calls matching a selection. In ai_first mode each call is handed to the admission scheduler at the requested time and follows the retry configuration from there. In speed_dial mode a live operator session dials them, and any call waiting on an AI retry is un-scheduled first so the same contact is never dialed twice. Calls the AI is already dialing are skipped; any other call, finished or cancelled included, is launched again.
Path parameters
idstringrequired
Request body
modeenum (string)requiredOne of
ai_firstspeed_dialscheduled_atstring (date-time)When to place the calls (ISO 8601). Omit to launch now. ai_first only — a speed dial session cannot be scheduled.
max_attemptsintegerai_first only. How many more attempts each launched call gets from now, replacing whatever it had left. Defaults to the campaign's max_retry_attempts. With the campaign's call_twice_in_a_row on, the double call counts as 2 of these attempts when both calls happen: with 1, there is no double call.
max 9007199254740991 · > 0
selectionobjectrequiredShow 2 fieldsHide 2 fields
filtersobjectrequiredShow 7 fieldsHide 7 fields
querystringstatusesarray of enum (string)requiredDefault
[]directionsarray of enum (string)requiredDefault
[]resultsarray of enum (string)requiredDefault
[]outcomesarray of enum (string)requiredDefault
[]assignee_idsarray of one ofrequiredDefault
[]Show 2 variantsHide 2 variants
One ofstringstring
One ofstringstring (constant)
variablesarray of objectShow 2 fieldsHide 2 fields
keystringrequiredvaluestringrequired
rowsobjectrequiredDefault
{"mode":"all_except","call_ids":[]}Show 2 fieldsHide 2 fields
modeenum (string)requiredOne of
all_exceptonlycall_idsarray of stringrequired
Responses
launchednumberrequiredskippedobjectrequiredShow 4 fieldsHide 4 fields
activenumberrequiredalready_reachednumberrequiredattempts_exhaustednumberrequiredcancellednumberrequired
sessionobjectShow 11 fieldsHide 11 fields
idstring (uuid)requiredcampaign_idstring (uuid)requiredstatusenum (string)requiredOne of
dialingconnectedcompletedstoppederroredoutcome_filterarray of enum (string)requiredcurrent_call_idstring (uuid)requirednullabletotal_targetsnumberrequireddialed_countnumberrequiredconnected_countnumberrequiredcreated_atone ofrequiredShow 2 variantsHide 2 variants
One ofstringstring (date-time)
One ofOption 2any
ended_atone ofrequirednullableShow 2 variantsHide 2 variants
One ofstringstring (date-time)
One ofOption 2any
400Invalid request: the body or a parameter failed validation
messagestringerrorstringbodyErrorsobjectThe validation errors returned from the API.
Show 1 fieldHide 1 field
issuesarray of objectrequiredShow 3 fieldsHide 3 fields
patharray of one ofrequiredShow 2 variantsHide 2 variants
One ofstringstring
One ofnumbernumber
messagestringrequiredcodestring
402Not enough credits on the organization
errorstringrequiredcodestring (constant)requiredAlways
"INSUFFICIENT_BALANCE"
404Not found in your organization
errorstringrequired
409Conflict with the resource's current state
errorstringrequired