Articles on: Q&A

How can I test the generation without consuming a merge?

You can specify the parameter "testing" in the payload to generate a document preview without counting the generation as part of your monthly usage. This option will add a large PREVIEW watermark across your document. This will allow you to generate and preview test documents without worrying about your monthly usage increase. Please find this option in our API v4 documentation.

Example payload

{
    "template": {
        "id": 123412,
        "data": {
            "Name": "John Smith"
        }
    },
    "format": "pdf",
    "output": "file",
    "name": "preview-20230325-CYM6VQ-711120426.pdf",
    "testing": true
}


Result

Preview result



How is the monthly usage calculated (merges)?
Common use-cases of the Expression language
Table component

Updated on: 21/01/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!