Upload a Template

Use this endpoint to upload a new template to the system. It accepts a .tpl file that defines the structure and logic of the report.

You need to structure the .tpl file based on the format you want for the final output (HTML, XML, CSV, or TXT). For example, if you're generating an XML report, the file should follow XML structure and use the Smart Templates plugin blocks.

But no matter the format, make sure to save the file with a .tpl extension. That’s required for the template to work properly.

Language
Click Try It! to start a request and see the response here!