Skip to main content
POST

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

documentId
string
required

The document's URL slug (e.g. abc123) or its canonical workbook UUID.

Example:

"12db1a0a"

Query Parameters

userId
string<uuid>

Organization API key required. The membership ID of the user to act as.

Body

application/json
format
enum<string>
required

Specifies the output format:

  • png - A screenshot of the rendered app
  • pdf - The rendered app as one page
  • xlsx - A screenshot cover sheet plus one sheet per query
  • csv - A ZIP of one CSV per query
Available options:
png,
pdf,
xlsx,
csv
Example:

"png"

filename
string

Custom filename for the downloaded file, without extension. Defaults to the app name.

Required string length: 1 - 255
Example:

"territory-planner"

Response

Download job initiated successfully.

job_id
string<uuid>
required

ID of the download job. Use this to poll for status and fetch the file.

Example:

"123e4567-e89b-12d3-a456-426614174000"

message
string
required

Status message

Example:

"Download initiated successfully"