> 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/v1/api-reference/json-pptx.md).

# JSON to PPTX Builder

This endpoint is used to load your `json` data in [PPTX Builder](https://www.pptxbuilder.com/) platform as a project. You will receive a `URL` that will redirect you to the platform and open your newly created project.&#x20;

Anyone with access to the `URL` will have ability to view and edit the project. After each download/save action, we will send an updated payload through the `webhook` which will contain the updated settings.

All changes made when accessing the project through the `URL` are stored in the Database.

## Convert

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

This endpoint allows you to convert `json` into a pptx.

#### Headers

| Name          | Type   | Description         |
| ------------- | ------ | ------------------- |
| Content-Type  | string | multipart/form-data |
| Authorization | string | Bearer \<token>     |

#### Request Body

| Name       | Type   | Description                     |
| ---------- | ------ | ------------------------------- |
| json\_data | object | Data to be rendered in the pptx |
| pptx\_file | string | \<pptx file template>           |

{% tabs %}
{% tab title="200 PPTX successfully created." %}

```
{
    "url": "https://pptxbuilder.com/builder/preview?token=<token>"
}
```

{% endtab %}

{% tab title="400 Wrong json data format or missing parameters." %}

```
{
    "error": "Expected <> object to be given, instead got <class 'NoneType'>"
}
```

{% endtab %}

{% tab title="401 Token not valid." %}

```
{
    "error": "Unauthorized"
}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
This returned `url` and data is stored in the database for 72 hours. After 72 hours the data will be deleted from database and url will be deactivated. You can change this in the [Settings](https://api.pptxbuilder.com/api/settings) and provide a new *API Data Accessible* .
{% endhint %}

Follow the link below to check out an example.

{% content-ref url="/pages/-MHgAaN83d8FGjl7IYe0" %}
[JSON to PPTX Builder](/v1/examples/json-to-pptxbuilder.md)
{% endcontent-ref %}
