Skip to main content
POST
Generate a document from a draft

Authorizations

Authorization
string
header
required

The org's platform API key.

Path Parameters

id
string
required

The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.

Body

application/json
app_id
string
required

The app whose Documents the file is stored in, as on the Documents routes.

format
string

pdf, docx or xlsx, one of the type's outputs. Default: the type's first output.

turn
string

The Assistant turn filing the draft. A revision filed in the same turn, by the same person, replaces the copy that turn filed while no one has changed it; every other revision keeps its earlier copy.

Response

OK

data
object
required