Quick start

Get started in 3 easy steps

Objective

Generate a fresh presentation by utilizing a PowerPoint template and JSON data via a request to the PowerPointGeneratorAPI service.

Step 1. Create an account

Sign up to PowerPointGeneratorAPI here. Make a note of your email address, password and security key. You will need these to create an authentication token.

Security key will be emailed to you.

Step 2. Create an authentication token

All API calls require authentication. You can create an authentication token manually using the Web Console or programmatically using the POST below.

Create authentication token

POST https://auth.powerpointgeneratorapi.com/v1.0/token/create

This endpoint enables you to create an authentication token. You will need this for all requests to the API. Your authentication token is only valid for 24 hours. Once your token has expired you will need to request a new token.

Headers

NameTypeDescription

Content-Type*

String

multipart/form-data

Request Body

NameTypeDescription

username*

String

your email address

password*

String

your account password

key*

String

your security key

Example Requests

curl -d "username=<your_username>&password=<your_password>&key=<your_security_key>" \
     -X POST https://auth.powerpointgeneratorapi.com/v1.0/token/create

Step 3: Make a request to PowerPointGeneratorAPI

Download the zip folder below. Using Postman, or some other API client, post the .pptx template file and the JSON data file from the zipped folder to the generator/create endpoint to create your presentation.

Create presentation

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

Headers

NameTypeDescription

Content-Type*

String

multipart/form-data

Authorization*

String

Bearer authentication token

Request Body

NameTypeDescription

files*

Object

.pptx template file

jsonData*

String

JSON payload

Example Requests

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=@title_slide_template.pptx' \
-F 'jsonData={"presentation":{"template":"title_slide_template.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."}]}]}}'

Output .pptx file

You will receive a byte array that can be converted to a PowerPoint presentation. Your PowerPoint will contain a single slide that looks like this:

Last updated