POST /generator/create
Use this endpoint to create a new presentation from a .pptx template file and JSON data . The call is synchronous — the connection stays open while the presentation is built, and the finished file comes back in the same response.
Style
Synchronous — one request
Asynchronous — submit, then poll
Response
The .pptx file as a binary stream
JSON containing a job ID
Connection held open
For the whole generation
Only long enough to upload the template and JSON
Best for
Small and medium decks, quick interactive calls
Large decks — many slides, large tables, charts and images
Risk
Client, proxy or gateway timeouts on long jobs
None — generation time is decoupled from the request
generator/create
POST https://gen.powerpointgeneratorapi.com/v1.0/generator/create
Headers
Content-Type*
String
multipart/form-data
Authorization*
String
Bearer authentication token
Request Body
files*
File or array of files
.pptx template file(s), plus any image files
jsonData*
String
JSON data
On success, the API returns the generated file as a binary stream (not JSON).
Content-Type
Matches the requested output format
Content-Disposition
Attachment; filename={filename}
Save the response body directly to a file to get the presentation.
Returns a JSON error object describing what was invalid.
Example request
Dummy PowerPoint template used in examples below:
Last updated