generator/create

How to create a presentation

Use this endpoint to create a new presentation from a .pptx template file and JSON data.

generator/create

POST https://gen.powerpointgeneratorapi.com/v1.0/generator/create

Headers

Name
Type
Description

Content-Type*

String

multipart/form-data

Authorization*

String

Bearer authentication token

Request Body

Name
Type
Description

files*

Object

.pptx file

jsonData*

String

JSON data

Example request

curl --location --request POST 'https://gen.powerpointgeneratorapi.com/v1.0/generator/create' \
-H 'Content-Type: multipart/form-data' \
-H 'Authorization: Bearer {add_your_token_here}' \
-F 'files=@my_dummy_presentation.pptx' \
-F 'jsonData={"presentation":{"template":"my_dummy_presentation.pptx","export_version":"Pptx2010","resultFileName":"quick_start_example","slides":[{"type":"slide","slide_index":0,"shapes":[{"name":"Title 1","content":"Your generated PowerPoint presentation"},{"name":"Subtitle 2","content":"Create,fill and manage PowerPoint documents through simple API requests."}]}]}}'

Last updated