Notice: important security update for Drive document URLs and resource keys. For more information, refer to Access link-shared files using resource keys

Replies: create

Creates a new reply to a comment. Try it now.


HTTP request



Parameter name Value Description
Path parameters
commentId string The ID of the comment.
fileId string The ID of the file.
Required query parameters
fields string The paths of the fields you want included in the response. For development you can use the special value * to return all fields, but you'll achieve greater performance by only selecting the fields you need. For more information, see Return specific fields for a file.


This request allows authorization with at least one of the following scopes:


Some scopes are restricted and require a security assessment for your app to use them. For more information, see the authentication and authorization page.

Request body

In the request body, supply a Replies resource with the following properties:

Property name Value Description Notes
Optional Properties
action string The action the reply performed to the parent comment. Valid values are:
  • resolve
  • reopen
content string The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This is required on creates if no action is specified. writable


If successful, this method returns a Replies resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.