Add Comments

Introduction

Comments on slides in PowerPoint presentations are a tool that allows you to add notes, questions, explanations, or other information to specific presentation slides. This is a valuable means of collaboration and communication within a working group or when discussing the presentation with colleagues. You can use the following methods to add regular comments on a slide.

You can also add modern comments using the same methods.

CreateComment

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/comments POST Adds a comment to a slide or shape in a presentation saved in a storage. CreateComment

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file saved in a storage.
slideIndex integer path true The 1-based index of a presentation slide.
dto SlideCommentBase body true The data transfer object with comment parameters.
shapeIndex integer query false The 1-based index of a shape to comment.
password string header false The password to open the presentation.
folder string query false The path to a folder containing the presentation.
storage string query false The name of the storage contaning the folder.

Examples

Add a regular comment from John Smith to the first slide in the document MyPresentation.pptx. Add a regular comment from James Johnson to the first comment in the same request.

cURL Solution

SDK Solutions

CreateCommentOnline

API Information

API Type Description Resource
/slides/slides/{slideIndex}/comments POST Adds a comment to a slide or shape in a presentation saved in a local file. CreateCommentOnline

Request Parameters

Name Type Location Required Description
document file formData true The presentation file.
slideIndex integer path true The 1-based index of a presentation slide.
dto SlideCommentBase body true The data transfer object with comment parameters.
shapeIndex integer query false The 1-based index of a shape to comment.
password string header false The password to open the presentation.

SDKs

Check Available SDKs to learn how to add an SDK to your project.