Submit batch calling job

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

Nagłówki

xi-api-keystringOpcjonalny

Żądanie

This endpoint expects an object.
call_namestringWymagany
agent_idstringWymagany
recipientslist of objectsWymagany
scheduled_time_unixintegerOpcjonalny
agent_phone_number_idstringOpcjonalny
whatsapp_paramsobjectOpcjonalny
timezonestringOpcjonalny
branch_idstringOpcjonalny
environmentstringOpcjonalny
telephony_call_configobjectOpcjonalny
target_concurrency_limitintegerOpcjonalny>=1

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

Odpowiedź

Successful Response
idstring
namestring
agent_idstring
created_at_unixinteger
scheduled_time_unixinteger
total_calls_dispatchedintegerDomyślnie 0
total_calls_scheduledintegerDomyślnie 0
total_calls_finishedintegerDomyślnie 0
last_updated_at_unixinteger
statusenum
Dozwolone wartości:
retry_countintegerDomyślnie 0
telephony_call_configobject
agent_namestring
phone_number_idstringOpcjonalny
phone_providerenumOpcjonalny
Dozwolone wartości:
whatsapp_paramsobjectOpcjonalny
branch_idstringOpcjonalny
environmentstringOpcjonalny
timezonestringOpcjonalny
target_concurrency_limitintegerOpcjonalny>=1

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

branch_namestringOpcjonalny

Błędy

422
Batch Calls Create Request Unprocessable Entity Error