Skip to navigation

CreateCallList

View as Markdown
Adds a new CSV file for call list processing and starts the specified rule immediately. To send a file, use the request body. To set the call time constraints, use the following options in a CSV file:
  • __start_execution_time – when the call list processing starts every day, UTC+0 24-h format: HH:mm:ss
  • __end_execution_time – when the call list processing stops every day, UTC+0 24-h format: HH:mm:ss
  • __start_at – when the call list processing starts, UNIX timestamp. If not specified, the processing starts immediately after a method call
  • __task_uuid – call list UUID. A string up to 40 characters, can contain latin letters, digits, hyphens (-) and colons (:). Unique within the call list

This method accepts CSV files with custom delimiters, such a commas (,), semicolons (;) and other. To specify a delimiter, pass it to the delimiter parameter.

IMPORTANT: the account’s balance should be equal or greater than 1 USD. If the balance is lower than 1 USD, the call list processing does not start, or it stops immediately if it is active.

You can specify a custom call schedule for every record. Refer to the Call lists guide for more information.

Allowed roles: Owner, Admin, Developer, Call list manager.

Authentication

AuthorizationBearer

Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the Authorization header as a Bearer value:

Authorization: Bearer $VOXIMPLANT_TOKEN

See Authorization for ready-to-copy snippets in bash, Python, Node.js and Go that turn your credentials.json into a token.

Query parameters

rule_idintegerRequired

Rule ID. It is specified in the Applications section of the Control Panel

list_custom_datastringOptional
Custom data string for the call list
priorityintegerRequired

Call list priority. The value is in the range of [0 … 2^31] where zero is the highest priority

max_simultaneousintegerRequired
Number of simultaneously processed tasks
num_attemptsintegerRequired

Number of attempts. Minimum is 1, maximum is 5

namestringRequired

File name, up to 255 characters and cannot contain the ’/’ and ” symbols

interval_secondsintegerOptionalDefaults to 0
Interval between call attempts in seconds. The default value is 0
encodingstringOptional

Encoding file. The default value is UTF-8

delimiterstringOptional

Separator values. The default value is ’;’

escapestringOptional
Escape character for parsing csv
server_locationstringOptional

Location of the server where the scenario needs to be executed. Has higher priority than ip_address. Request getServerLocations for possible values

task_priority_strategystringOptionalDefaults to first_attempts

Optional. Whether to prioritize first calling attempts or repeated ones. The possible values are: first_attempts, repeated_attempts. The default values is first_attempts.

ip_addressstringOptional
IP from the geolocation of the call list subscribers. It allows selecting the nearest server for serving subscribers. If not specified, the client IP of the request is used
call_list_typestringOptionalDefaults to automatic

Call list type. The possible values are: automatic, predictive, progressive. The value is case-insensitive

queue_idintegerOptional

The ACD queue ID. Required if call_list_type is predictive or progressive, and should be omitted otherwise

start_atintegerOptional

Time when the call list should start, as a Unix timestamp in seconds (UTC). The default value is the current time. The value cannot be in the past

is_cancelledbooleanOptionalDefaults to false
Whether to create the call list in the cancelled state
quotestringOptional
Quote character for parsing csv
acd_versionstringOptionalDefaults to V1

The ACD version. The possible values are: V1, V2. Applies only if call_list_type is predictive or progressive

predictive_typestringOptionalDefaults to AR_OPTIMIZED

The predictive dialing algorithm. The possible values are: DEFAULT_PREDICTIVE_TYPE, AR_OPTIMIZED, BF_OPTIMIZED, AR_SMALL_GROUP, AR_AUTO_BALANCED. Applies only if call_list_type is predictive

maximum_error_rateintegerOptionalDefaults to 0

The maximum abandoned call rate for predictive dialing, from 0 to 1. Applies only if call_list_type is predictive or progressive

minimum_busy_factorintegerOptionalDefaults to 0

The minimum agent busy factor for predictive dialing, from 0 to 1. Applies only if call_list_type is predictive or progressive

task_multiplierintegerOptionalDefaults to 1

The task multiplier for progressive dialing. The minimum value is 1. Applies only if call_list_type is progressive

is_personal_campaignbooleanOptional

Whether the call list is a personal campaign. Applies only if call_list_type is progressive

personal_campaign_typestringOptional

The personal campaign mode. The possible values are: smart, strict. Allowed only if is_personal_campaign is true; the default value in that case is smart

buffer_size_targetstringOptional

The PDS buffer size target. The possible values are: VALUE, OPERATOR, AGENT. Applies only if call_list_type is predictive or progressive

buffer_size_valueintegerOptionalDefaults to 500

The PDS buffer size, from 20 to 500. Applies only if buffer_size_target is VALUE

buffer_threshold_factorintegerOptionalDefaults to 2

The PDS buffer threshold factor. Cannot be negative. Applies only if buffer_size_target is specified

avg_dial_time_secintegerOptionalDefaults to 30

The initial average dial time in seconds for the dialing statistics. Applies only if call_list_type is predictive or progressive

avg_time_talk_secintegerOptionalDefaults to 60

The initial average talk time in seconds for the dialing statistics. Applies only if call_list_type is predictive or progressive

avg_total_time_secintegerOptionalDefaults to 60

The initial average total call time in seconds for the dialing statistics. Applies only if call_list_type is predictive or progressive

percent_successfulintegerOptionalDefaults to 0

The initial successful call ratio for the dialing statistics. Applies only if call_list_type is predictive or progressive

Request

This endpoint expects a multipart form containing a file.
file_contentfileRequired

Send as the “body” part of the HTTP request or as multiform. The sending “file_content” via URL is at its own risk because the network devices tend to drop HTTP requests with large headers. Refer to the Call lists guide to learn about file syntax

Response

Successful response
resultbooleanOptional
Whether the request completed successfully
countintegerOptional
Number of stored records
list_idintegerOptional
List ID
batch_idstringOptional
Batch UUID