documents

Generate PDF from template.

Generate PDF document from an existing template with merge tags.

post/documents/v1/generate/template

Request body

templateIdstring required

ID of the template to use for generation

mergeTagsobject

Optional merge tags for personalization

filenamestring

Optional filename for the generated PDF

Response

Default Response

documentIdstring

Unique document identifier

pdfUrlstring uri

URL to download the generated PDF

status'generating' | 'completed' | 'failed'
filenamestring

Generated filename

Changes