Skip to main content
GET
/
document
/
pdf
/
{documentId}
Retrieve PDF template data
curl --request GET \
  --url https://app.myhero.so/document/pdf/{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.

Retrieves the stored PDF template payload for a document of type EXTERNAL/PDF. Returns 404 if the document does not exist or has no associated template, and 500 if the document is not a PDF external template.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

documentId
string
required
Minimum string length: 1

Response

200 response

data
any