提交批量通话请求。

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

请求头

xi-api-keystring可选

请求

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

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

响应

成功响应

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

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

agent_namestring
branch_namestring or null

错误

422
Unprocessable Entity Error