Skip to main content
GET
/
published
/
{publishedId}
/
document
Retrieve a published document
curl --request GET \
  --url https://app.myhero.so/published/{publishedId}/document \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "projectId": "<string>",
    "documentStyling": {},
    "documentContent": "<unknown>",
    "documentData": "<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 ProseMirror content and metadata for a single published document identified by publishedId. Enforces domain password authentication via the user-published-token header when the portal is password-protected. Pass exclContent=true to skip fetching document content.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

publishedId
string
required
Minimum string length: 1

Query Parameters

exclContent
enum<string>
Available options:
true,
false

Response

200 response

data
object
required