Send a POST request to /v1/renders with a template ID and a data object. The response includes the render ID, its status and a download URL once it is ready.
Parameters
template_id (required): the template to use.
data (required): the values for the template variables.
filename (optional): the name of the downloaded file.
expires_in (optional): URL lifetime in seconds, up to seven days.
Sync and async
Small documents are returned in the same request. Anything over 50 pages is queued, and you receive a webhook when it is done. You can force either mode with the mode parameter.