Skip to end of metadata
Go to start of metadata
Contents Summary


The REST API allows you to add a comment to a Word Document. The API return added comment data in XML/JSON format. The resource properties are given below:

Property NameTypeDescription
RangeStartlinkLink to comment range start.
RangeEndlinkLink to comment range end.
AuthorstringSpecifies the author's name for comment. It cannot be null.
InitialstringSpecifies the initials of the user associated with a specific comment. It cannot be null.
DateTimeDateTimeGets the date and time that the comment was made.
TextstringThis is a convenience property that allows you to easily get or set the text of the comment.
Contentlist of child nodesList of child nodes.

Resource URI

Swagger UI lets you call this REST API directly from the browser. The description of the API and its parameters are also given there.

cURL Example


SDK Source

Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.Words Cloud SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.

SDK Examples

  • No labels