Submit batch calling job

Submit a batch call request to schedule calls for multiple recipients.

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
call_namestring必需
agent_idstring必需
recipientslist of objects必需
scheduled_time_unixinteger可选
agent_phone_number_idstring可选
whatsapp_paramsobject可选
timezonestring可选
branch_idstring可选
environmentstring可选
telephony_call_configobject可选
target_concurrency_limitinteger可选>=1

Maximum number of simultaneous calls for this batch. When set, dispatch is governed by this limit rather than workspace/agent capacity percentages.

响应

Successful Response
idstring
namestring
agent_idstring
created_at_unixinteger
scheduled_time_unixinteger
total_calls_dispatchedinteger默认为 0
total_calls_scheduledinteger默认为 0
total_calls_finishedinteger默认为 0
last_updated_at_unixinteger
statusenum
允许的值:
retry_countinteger默认为 0
telephony_call_configobject
agent_namestring
phone_number_idstring可选
phone_providerenum可选
允许的值:
whatsapp_paramsobject可选
branch_idstring可选
environmentstring可选
timezonestring可选
target_concurrency_limitinteger可选>=1

Maximum number of simultaneous calls for this batch. When set, dispatch is governed by this limit rather than workspace/agent capacity percentages.

branch_namestring可选

错误

422
Batch Calls Create Request Unprocessable Entity Error