Skip to main content
GET
Read app content on main draft

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

Document identifier — either the URL slug (e.g. abc123) or the canonical workbook UUID.

Example:

"abc123"

Query Parameters

pretty
enum<string>

Set true or 1 to pretty-print (2-space indent) the response; false / 0 (the default) is compact. Key ordering is deterministic regardless.

Available options:
0,
1,
true,
false

Response

The main draft's app content.

The published app's HTML and sandbox settings.

html
string
required

The complete app HTML document.

settings
object
required

The app's sandbox settings. A write replaces the whole object; omitted fields use their locked-down defaults. Host lists are normalized (deduped, invalid or Omni-owned hosts dropped) before they are stored.