Dynamic Table Template

Generate this PDF document with a simple API request

Dynamic Table (basic)

Example JSON

Below is the JSON used to create the dynamic table above. All of the attributes within the data parameter are non mandatory. Supply only what you want to populate on the document.

    "template": "table2",
    "font": "Roboto",
    "data": {
        "color": "#000000",
        "thead_dark": false,
        "borderless": false,
        "striped": true,
        "compact": false,
        "title": "Dynamic Table",
        "info": "This table was dynamically generated from JSON.",
        "columns": [
            "Unit Cost",
        "rows": [
                "Men's Pursuit Running Shoes - 10/M - BLACK",
                "Men's Shelby Leather Boots - 10/M",
                "Gel Venture Trail Runners - 11/M - BLUE",


It's easy to change the look and feel of the dynamic table. The template API allows you to easily insert your own logo and specify a custom font.

    "template": "table2",
    "font": "Open Sans",
    "font_size": 0.9,
    "font_color": "#32325d",
    "data" : {...}

Generate as PDF or PNG

By default all templates are generated as a PDF document. If you would like to generate as a PNG image, supply the file_type parameter in your API request:

    "template": "table2",
    "file_type": "png",
    "data" : {...}

Need a custom template?

If you prefer to build your own templates or require more flexibility, be sure to try our HTML to PDF API . We are using the same HTML to PDF API to generate the dynamic table above!

If you need a custom template please contact us to see if we can assist.

Back to templates