Cancel batch calling job

Cancel a running batch call and set all recipients to cancelled status.

Parâmetros de caminho

batch_idstringObrigatório

Cabeçalhos

xi-api-keystringOpcional

Resposta

Successful Response
idstring
namestring
agent_idstring
created_at_unixinteger
scheduled_time_unixinteger
total_calls_dispatchedintegerPadrão é 0
total_calls_scheduledintegerPadrão é 0
total_calls_finishedintegerPadrão é 0
last_updated_at_unixinteger
statusenum
Valores permitidos:
retry_countintegerPadrão é 0
telephony_call_configobject
agent_namestring
phone_number_idstringOpcional
phone_providerenumOpcional
Valores permitidos:
whatsapp_paramsobjectOpcional
branch_idstringOpcional
environmentstringOpcional
timezonestringOpcional
target_concurrency_limitintegerOpcional>=1

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

branch_namestringOpcional

Erros

422
Batch Calls Cancel Request Unprocessable Entity Error