Skip to main content
POST
Create a batch call

Authorizations

Authorization
string
header
required

A workspace API key from Workspace settings > API keys, sent as Authorization: Bearer cl_api_.... A Read only key can call the GET endpoints; every other method needs a Full access key.

Headers

Idempotency-Key
string
required

Between 1 and 128 characters. A retry with the same key and body gets the first answer back and writes nothing; the same key with another body is refused with 409.

Required string length: 1 - 128

Path Parameters

agentId
string
required
Required string length: 1 - 128

Body

application/json
name
string
required
Required string length: 1 - 120
settings
object
required
timezone
string
required
Maximum string length: 64
startsAt
string<date-time> | null
required
sendRatePerMinute
integer
required
Required range: 1 <= x <= 20
recipients
object[]
Maximum array length: 1000
launch
boolean
default:false

Response

Created.

data
object
required