PowerPoint Generator API
  • PowerPoint Generator API
  • Getting started
    • Quick start
  • API reference
    • token/create
    • generator/create
  • Knowledge base
    • Key concepts
    • Templating your presentation
    • Building your JSON payload
    • Finding shape names
  • JSON/ PPTX Reference
    • presentation
    • slides
    • shapes
      • textbox
      • chart
      • picture
      • table
    • tags
    • Deprecated
  • Examples
    • Presentation
      • Naming output presentation
      • Using multiple templates
    • Slide
      • Change shape size and position
      • Change shape background color
      • Hide or remove shape
      • Replacing tags
    • Textboxes
      • Add text
      • Set font type and size
      • Set font color and font background color
      • Set bold, italic & underline
      • Set text alignment
      • Set text indentation
      • Set text line spacing
      • Using bullet-points
    • Chart
      • Change font settings
      • Insert data
      • Adjust chart legend
      • Appending to data labels
    • Pictures
    • Table
      • Populate simple table
      • Using `text_runs` in Table cells
      • Handling merged cells
      • Update a specific cells in existing table
    • Tags
Powered by GitBook
On this page

Was this helpful?

  1. JSON/ PPTX Reference

presentation

Hierarchy: presentation

PreviousFinding shape namesNextslides

Last updated 12 days ago

Was this helpful?

The presentation object is the root object. Below are the parameters and objects within it:

Parameter
Type
Input
Description

template

String

[required] Specifies the base presentation template. This can be either:

  1. A filename (e.g., "my_template.pptx"): In this case, the request Content-Type must be multipart/form-data, and the actual template file must be uploaded as part of the request. The value of this template field in the JSON payload should be the name of the uploaded file.

  1. A downloadable URL (e.g., "https://.../template.pptx"): The API server will attempt to download the template from this URL. The request Content-Type should be application/json.

export_version

String (Enum)

Pptx2007,

Pptx2010,

Pptx2013,

Pptx2016,

Pptx2019,

PDF

[optional] File format the output presentation should use.

resultFileName

String

[optional] Name of output presentation.

slides

Object

[optional] An array of .

JSON Payload

{
  "presentation": {
    "template": "string.pptx",
    "export_version": "Pptx2019",
    "resultFileName": "string",
    "slides": []
  }
}
slide objects