Generate a document from a template

Generate a PDF, DOCX, or HTML document from a saved template.

You can populate the template with fields from a saved verification transaction, with custom fillData, or with both. This is commonly used for rental contracts, onboarding agreements, declarations, and audit-ready paperwork.

Body Params
string
required

Template ID

string
required

PDF, DOCX or HTML

string

Fill the template with data from specified transaction

fillData
object

JSON data in key-value pairs to autofill dynamic fields, data from user ID will be used first in case of a conflict. For example, passing {"myparameter":"abc"} would fill %{myparameter} in contract template with "abc".

Response

Language
Credentials
Header
URL
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json