Skip to main content
GET
/
document
/
initial-data
/
{documentId}
Retrieve document editor data
curl --request GET \
  --url https://app.myhero.so/document/initial-data/{documentId} \
  --header 'Authorization: Bearer <token>'
{
  "data": "<unknown>"
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Returns the aggregated payload required to bootstrap the document editor for documentId. Includes document settings, table references, referenced rows, blocks, and clause references in a single response.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

documentId
string
required
Minimum string length: 1

Response

200 response

data
any