JSON to PPTX Builder

This page describes the endpoint used to convert json data into a pptx builder project.

This endpoint is used to load your json data in PPTX Builder platform as a project. You will receive a URL that will redirect you to the platform and open your newly created project.

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.

post
Convert

https://api.pptxbuilder.com/api/v2/convert_data_to_pptx
This endpoint allows you to convert json into a pptx builder project.
Request
Response
Request
Headers
Content-Type
required
string
multipart/form-data
Authorization
required
string
Bearer <token>
Body Parameters
json_data
required
object
Data to be rendered in the PPTXBuilder
pptx_file
optional
string
<pptx file template>
Response
200: OK
PPTX successfully created.
{
"url": "https://pptxbuilder.com/builder/preview?token=<token>"
}
400: Bad Request
Wrong json data format or missing parameters.
{
"error": "Expected <> object to be given, instead got <class 'NoneType'>"
}
401: Unauthorized
Token not valid.
{
"error": "Unauthorized"
}

The returned url and data is stored in the database for 72 hours. After 72 hours the data will be deleted from the database and the url will be deactivated. You can change this in the Settings and provide a new API Data Accessible (time unit - hours).