跳到导航

提交批量通话请求。

提交批量通话请求,为多个收件人安排通话。

请求头

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

此批次的最大同时通话数。设置后,调度将受此限制控制,而非工作区/智能体容量百分比。

响应

成功响应

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

此批次的最大同时通话数。设置后,调度将受此限制控制,而非工作区/智能体容量百分比。

branch_namestring可选

错误

422
Batch Calls Create Request Unprocessable Entity Error