PATCH
Patch Call Batch

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

batch_id
string<uuid>
required

Body

application/json

Policy edits, allowed while a batch is scheduled, running, paused or completed.

calling_window, start_at and dial_daily_cap accept an explicit null to clear them — "dial at any hour", "start on the next pass", "no daily limit" — which is why the service reads model_fields_set rather than treating absent and null the same way. Every other field keeps the usual PATCH rule: absent means unchanged.

agent_id
string<uuid>
calling_window
TimeWindow · object | null

The hours a list may run in, on the list's own clock.

Shared rather than duplicated, for the same reason window_state is: a call batch and an email send run store the same three values under the same names and must not each get their own copy of the rules. The field that carries one is named for what it gates — calling_window on a campaign, window on an email batch and its runs.

A window that crosses midnight (21:00-06:00) is valid and means exactly what an evening consumer-calling window means: the day check applies to the start side, so 21:00-06:00 on days: [5] runs Friday 21:00 through Saturday 06:00.

dial_daily_cap
FixedDailyCap · object

The same limit every day.

dial_gap_seconds
integer
from_phone_number_id
string<uuid>
max_attempts
integer
max_concurrency
integer
name
string
Required string length: 1 - 200
retry_after_minutes
integer
start_at
string<date-time> | null
timezone
string

Response

Successful Response

agent_id
string<uuid> | null
required
agent_name
string | null
required
calling_window
TimeWindow · object | null
required

The hours a list may run in, on the list's own clock.

Shared rather than duplicated, for the same reason window_state is: a call batch and an email send run store the same three values under the same names and must not each get their own copy of the rules. The field that carries one is named for what it gates — calling_window on a campaign, window on an email batch and its runs.

A window that crosses midnight (21:00-06:00) is valid and means exactly what an evening consumer-calling window means: the day check applies to the start side, so 21:00-06:00 on days: [5] runs Friday 21:00 through Saturday 06:00.

counts
CallBatchCounts · object
required
created_at
string<date-time>
required
dial_daily_cap
FixedDailyCap · object
required

The same limit every day.

dial_daily_cap_today
integer | null
required
dial_gap_seconds
integer
required
dialed_today
integer
required
ended_at
string<date-time> | null
required
failure_reason
string | null
required
from_e164
string | null
required
from_phone_number_id
string<uuid> | null
required
id
string<uuid>
required
max_attempts
integer
required
max_concurrency
integer
required
name
string
required
next_dial_at
string<date-time> | null
required
next_dial_reason
enum<string> | null
required
Available options:
start,
window,
daily_cap
retry_after_minutes
integer
required
start_at
string<date-time> | null
required
started_at
string<date-time> | null
required
status
enum<string>
required
Available options:
scheduled,
running,
paused,
completed,
canceled,
failed
timezone
string
required
agent_plan
StoredAgentPlan · object | null

What a call ran, frozen at the moment it started.

Written only when the call differs from "the published agent, as-is" — so a null agent_plan means exactly that. members[0] is the agent that answered.

vars
Vars · object | null