Declaration Templates (Admin)
Preview Template
Render a preview PDF with sample data.
Body: template_type: str (optional, default 'html') design_json: dict (preferred for html — block-based editor output) html_content: str (legacy — required if design_json absent) css_content: str (optional, html only) id_modulo: int (required for html type) pdf_template_url: str (required for pdf type)
post/api/declaration-templates/preview
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/declaration-templates/preview
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Headers
x-api-tokenstring nullable
Request body
object required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 21 revisions of this API.