Menu
Drive.comments.list
Lists a file's comments.
GET
/files/{fileId}/commentsUse it in a workflow
- Add a step and choose the Google Drive connector.
- Pick the Drive.comments.list action (under comments).
- Fill in the fields below, then reference the result from later steps as
{{driveCommentsList.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{driveCommentsList.response.data.<field>}}.
{
"comments": [
{
"anchor": "string",
"author": {
"displayName": "string",
"emailAddress": "string",
"kind": "drive#user",
"me": false,
"permissionId": "string",
"photoLink": "string"
},
"content": "string",
"createdTime": "2025-01-01T00:00:00Z",
"deleted": false,
"htmlContent": "string",
"id": "string",
"kind": "drive#comment",
"modifiedTime": "2025-01-01T00:00:00Z",
"quotedFileContent": {
"mimeType": "string",
"value": "string"
},
"replies": [
{
"action": "string",
"author": {
"displayName": "string",
"emailAddress": "string",
"kind": "drive#user",
"me": false,
"permissionId": "string",
"photoLink": "string"
},
"content": "string",
"createdTime": "2025-01-01T00:00:00Z",
"deleted": false,
"htmlContent": "string",
"id": "string",
"kind": "drive#reply",
"modifiedTime": "2025-01-01T00:00:00Z"
}
],
"resolved": false
}
],
"kind": "drive#commentList",
"nextPageToken": "string"
}
Need more? See the Google Drive guide for connection setup and behaviour shared by every action.
Was this page helpful?