Preview a merged document
Merges one or more templates against a lease and hands back the resulting PDF inline, base64-encoded, together with the boxes that were placed on it. Nothing is stored — use it to preview before creating a real document.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Body
application/json
leaseIdstringrequiredThe lease whose values fill the templates. A Snowflake id, sent as a decimal string.
refsobject[]requiredThe templates to merge, in order. At least one.
signerIdsstring[]Signers to place boxes for.
propertyManagerIdsstring[]Property managers to place boxes for.
Response
200 · The merged PDF and its boxes.
pdfstringThe merged PDF, base64-encoded. Decode it to get the bytes.
annotationsLeaseDocumentAnnotation[]The boxes placed on the merged PDF.