> For the complete documentation index, see [llms.txt](https://docs.powerpointgeneratorapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerpointgeneratorapi.com/json-template-syntax/presentation.md).

# presentation

The **`presentation`** object is the root object. Below are the parameters and objects within it:

<table><thead><tr><th width="174">Parameter</th><th width="93">Type</th><th width="138">Input</th><th>Description</th></tr></thead><tbody><tr><td>template </td><td>String</td><td></td><td><p><mark style="color:red;">[required]</mark> Specifies the base presentation template. This can be either:</p><p></p><ol><li>A filename (e.g., "my_template.pptx"): In this case, the request Content-Type must be multipart/form-data, and the actual template file must be uploaded as part of the request. The value of this template field in the JSON payload should be the name of the uploaded file.</li><li>A downloadable URL (e.g., "https://.../template.pptx"): The API server will attempt to download the template from this URL. The request Content-Type should be application/json.</li></ol></td></tr><tr><td>export_version</td><td>String (Enum)</td><td><p><code>Pptx2007</code>,</p><p><code>Pptx2010</code>,</p><p><code>Pptx2013</code>,</p><p><code>Pptx2016</code>,</p><p><code>Pptx2019</code>,</p><p><code>PDF</code></p></td><td><mark style="color:yellow;">[optional]</mark> File format the output presentation should use.</td></tr><tr><td>resultFileName</td><td>String</td><td></td><td><mark style="color:yellow;">[optional]</mark> Name of output presentation.</td></tr><tr><td>slides </td><td><mark style="color:blue;">Object</mark></td><td></td><td><mark style="color:yellow;">[optional]</mark> An array of <a href="/pages/tc4HtIVVIQg1HoOvuopF"><mark style="color:blue;"><strong>slide objects</strong></mark></a>.</td></tr></tbody></table>

JSON Payload&#x20;

{% code lineNumbers="true" %}

```json
{
  "presentation": {
    "template": "template_name.pptx",
    "export_version": "Pptx2019",
    "resultFileName": "string",
    "slides": []
  }
}
```

{% endcode %}
