Skip to main content
PUT
/
document
/
pdf-template
Update a PDF template
curl --request PUT \
  --url https://app.myhero.so/document/pdf-template \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "documentId": "<string>",
  "template": {
    "basePdf": "<string>",
    "schemas": [
      [
        {}
      ]
    ]
  }
}
'
{
  "data": true
}

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.

Replaces the basePdf and schemas for a PDF external document. The documentId in the body must reference an existing document of type EXTERNAL/PDF; returns 400 if it does not.

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
documentId
string
required
Minimum string length: 1
template
object
required

Response

200 response

data
enum<boolean>
required
Available options:
true