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

# Upload template

## Upload template

<mark style="color:green;">`POST`</mark> `https://api.pptxbuilder.com/api/v2/upload_template`

This endpoint allows you to upload a template file into your template library.

#### Path Parameters

| Name  | Type  | Description            |
| ----- | ----- | ---------------------- |
| files | array | Template file ( pptx ) |

#### Headers

| Name          | Type   | Description  |
| ------------- | ------ | ------------ |
| Authorization | string | Bearer token |

{% tabs %}
{% tab title="200 Request successful" %}

```
{}
```

{% endtab %}

{% tab title="400 Your request was not successful" %}

```javascript
"Error message" 
```

{% endtab %}
{% endtabs %}
