Skip to main content
POST
Approve a video's script

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string

A UUID. When present, deduplicates repeat submissions. See /api-reference/idempotency.

Path Parameters

id
string
required

Body

application/json
script
string

The edited script, for a script-based video. Omit to approve it as written.

Maximum string length: 6000
sections
string[]

A scrolling background: one text per section, in order

Required array length: 1 - 10 elements
Maximum string length: 1500
on_screen_caption
string

real_footage: the caption over the clip

Required string length: 1 - 150
scenes
object[]

Scene templates: edits by scene id. Scenes you leave out keep what was planned.

Required array length: 1 - 10 elements
slides
object[]

slideshow: edits by slide id

Required array length: 1 - 10 elements
interview_turns
object[]

interview: line edits by turn id

Maximum array length: 16
max_price_cents
integer

A spending cap: above it the script is not approved and the request fails with 400

Required range: 0 <= x <= 9007199254740991

Response

Success

data
object
required