Skip to main content

Validate PDF Template

POST 

/api/pdf-templates/:id/validate

Validates draft template content against the template type's schema without rendering it. Use this to surface unknown variables, unbalanced sections, and non-blocking warnings before saving.

Required scope: settings:write

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).

Fields:

  • content (required): the draft markup to validate.

The response data contains ok (true when there are no errors), an errors array, and a warnings array.

Request

Responses

OK

Response Headers
    Content-Type