Create a draft batch
Creates a draft with 1 to 1,000 unique contacts or inline recipients. Exactly one recipient form is accepted. An Idempotency-Key is required and the raw JSON body is limited to 1 MiB. Every response includes Brightalk-Version and X-Request-Id; rate-limited responses also expose the effective bucket counters.
Authorizations
Use a server-side Brightalk API key in the Authorization header.
Headers
Selects the date-based API version. Omission uses the organization’s pinned default.
"2026-07-16"A caller-generated correlation value matching [A-Za-z0-9._:-]{1,64}. Invalid values are replaced.
64^[A-Za-z0-9._:-]{1,64}$A nonsecret key retained for 24 hours. Reuse only for a semantically identical request.
1 - 255^(?=.{1,255}$)[\x21-\x7e](?:[\x20-\x7e]*[\x21-\x7e])?$Body
JSON request body. The raw encoded body is limited to 1 MiB and unknown fields are rejected.
- Option 1
- Option 2
An opaque resource identifier.
1 - 255"agt_demo_001"
1 - 1000 elementsAn opaque resource identifier.
1 - 255Leading and trailing whitespace is trimmed; the remaining value must contain 1–200 characters.
^\s*\S(?:[\s\S]{0,198}\S)?\s*$"Renewal reminders"
Response
Draft batch created.
An opaque resource identifier.
1 - 255"bat_demo_001"
draft, scheduled, queued, in_progress, paused, completed, failed, cancelled "Renewal reminders"
An opaque resource identifier.
1 - 255"agt_demo_001"
x >= 02
x >= 02
x >= 00
x >= 00
x >= 00
x >= 00
x >= 00
x >= 00
x >= 00
x >= 00
When the batch was created.
"2026-07-20T01:00:00Z"
When the batch was last updated.
"2026-07-20T01:00:00Z"
The configured earliest start instant.
"2026-07-20T01:00:00Z"
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.
When dispatch began.
"2026-07-20T01:00:00Z"
When the batch was paused.
"2026-07-20T01:00:00Z"
When the batch reached completion.
"2026-07-20T01:00:00Z"
When the batch was cancelled.
"2026-07-20T01:00:00Z"