Key concepts
- AgreementGen Template (
ag_prefix) — a template designed specifically for automated document generation. Templates contain placeholder fields and optional variables/collections for dynamic data. - Agreement — a generated document produced by filling an AgreementGen template with your data. Once created, the document can be downloaded as a PDF.
- Collections — groups of repeating variables within a template, commonly used for line items, table rows, or lists of entries in the generated document.
Typical workflow
- Find a template — use the Templates API to list available templates and get field details for an
ag_template. - Create an Agreement — fill in the template fields (and collections if applicable) to generate the document.
- Download the file — retrieve the generated PDF as a signed URL or binary data.
Available endpoints
Create Agreement
Create a new AgreementGen document from an AgreementGen template.
Get Agreement File
Obtain a downloadable file or binary PDF data from an AgreementGen document.