Articles on: Q&A

How to Test Document Generation Without Consuming Credits

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



Updated on: 02/01/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!