Skip to main content
POST
Create export

Authorizations

Authorization
string
header
required

An API key from the dashboard, such as sk_live_…. It acts in its workspace.

Body

application/json
document_id
string
required
alias
string

An alias, such as latest; latest when neither this nor version is given.

format
enum<string> | null

mp4 or m4a. Absent, a version with a picture exports as mp4 and one that has only sound (every node is audio or tone) as m4a, which is also its only format.

Available options:
mp4,
m4a
version
integer<uint64>

A version, by number.

Required range: x >= 0

Response

OK

created_at
string
required

RFC 3339.

document_id
string
required

The document it exports.

download_url
string | null
required

Once it has succeeded, where to download it (ranges work); it expires in about a day.

error
string | null
required

Why it failed.

file_name
string
required

The file name it downloads as.

id
string
required

exp_….

status
string
required

queued, running, succeeded or failed.

updated_at
string
required

RFC 3339: when its status last changed.

usage
object | null
required

Once it has succeeded, its video segments (an m4a's audio segments) and how many of them it rendered; the rest were reused from earlier renders (playback, or an identical export) and cost nothing.

version
integer<uint64>
required

The document version it exports.

Required range: x >= 0