Skip to main content

Get PDF Template

GET 

/api/pdf-templates/:id

Returns a single PDF template by ID, including its raw content, resolved variables, variables_tree/schema, and preview_destinations.

Required scope: settings:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Personal Access Token (sent as a Bearer token) with the settings scope (read access).

preview_destinations lists the destination countries a preview can be rendered against, each as a code and a label. Pass one of those codes as destination_country when previewing to see how country-conditional sections render.

Request

Responses

OK

Response Headers
    Content-Type