Skip to main content
POST
Post a batch

Authorizations

Authorization
string
header
required

A workspace API key.

Path Parameters

batchId
string
required

The batch id returned by POST /v1/video/quick-batch (batch.id).

Required string length: 1 - 80

Body

application/json
connectedAccountIds
string[]
required

Connected publishing account ids in this workspace (GET /v1/publish/destinations), one to ten; every finished output goes to each.

Required array length: 1 - 10 elements
Required string length: 1 - 256
days
integer

Spread the posts evenly over this many days; 0 or 1 posts them all at startAt.

Required range: 0 <= x <= 30
startAt
string<date-time>

When the first post goes out; omitted: now.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$

Response

Success.

success
boolean
required
posted
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
pendingApproval
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
refused
object[]
required
batch
object
{key}
any