Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Use a server-side Brightalk API key in the Authorization header.

Headers

Brightalk-Version
string
default:2026-07-16

Selects the date-based API version. Omission uses the organization’s pinned default.

Allowed value: "2026-07-16"
X-Request-Id
string

A caller-generated correlation value matching [A-Za-z0-9._:-]{1,64}. Invalid values are replaced.

Maximum string length: 64
Pattern: ^[A-Za-z0-9._:-]{1,64}$
Idempotency-Key
string

Optionally makes this state transition replayable for 24 hours.

Required string length: 1 - 255
Pattern: ^(?=.{1,255}$)[\x21-\x7e](?:[\x20-\x7e]*[\x21-\x7e])?$

Path Parameters

batch_id
string
required

The opaque Batch identifier. An opaque resource identifier.

Required string length: 1 - 255
Example:

"bat_demo_001"

Body

application/json

JSON request body. The raw encoded body is limited to 1 MiB and unknown fields are rejected.

The body is of type object.

Response

Batch paused or current terminal state returned.

id
string
required

An opaque resource identifier.

Required string length: 1 - 255
Example:

"bat_demo_001"

status
enum<string>
required
Available options:
draft,
scheduled,
queued,
in_progress,
paused,
completed,
failed,
cancelled
name
string
required
Example:

"Renewal reminders"

agent_id
string
required

An opaque resource identifier.

Required string length: 1 - 255
Example:

"agt_demo_001"

total_recipients
integer
required
Required range: x >= 0
Example:

2

pending_recipients
integer
required
Required range: x >= 0
Example:

2

queued_recipients
integer
required
Required range: x >= 0
Example:

0

in_progress_recipients
integer
required
Required range: x >= 0
Example:

0

completed_recipients
integer
required
Required range: x >= 0
Example:

0

failed_recipients
integer
required
Required range: x >= 0
Example:

0

cancelled_recipients
integer
required
Required range: x >= 0
Example:

0

answered_recipients
integer
required
Required range: x >= 0
Example:

0

no_answer_recipients
integer
required
Required range: x >= 0
Example:

0

busy_recipients
integer
required
Required range: x >= 0
Example:

0

created_at
string<date-time>
required

When the batch was created.

Example:

"2026-07-20T01:00:00Z"

updated_at
string<date-time>
required

When the batch was last updated.

Example:

"2026-07-20T01:00:00Z"

scheduled_start_at
string<date-time>

The configured earliest start instant.

Example:

"2026-07-20T01:00:00Z"

calling_window
object

One contiguous daily calling window. The runtime requires end_time to be later than start_time; x-brightalk-end-after-start records that checker-only cross-field rule because standard JSON Schema cannot compare two time strings.

started_at
string<date-time>

When dispatch began.

Example:

"2026-07-20T01:00:00Z"

paused_at
string<date-time>

When the batch was paused.

Example:

"2026-07-20T01:00:00Z"

completed_at
string<date-time>

When the batch reached completion.

Example:

"2026-07-20T01:00:00Z"

cancelled_at
string<date-time>

When the batch was cancelled.

Example:

"2026-07-20T01:00:00Z"