Google Drive Replies API

The Replies API from Google Drive — 2 operation(s) for replies.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId} Delete a comment reply · Delete replies #
Ask an LLM
“How do I delete a reply to a comment?”
“Can I remove a reply from a file comment?”
Tell an agent destructive · confirm first
Delete reply {replyId} on comment {commentId} of file {fileId}.
Remove reply {replyId} from comment {commentId} on file {fileId}.
GET /drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId} Get a comment reply · Get replies #
Ask an LLM
“How do I read one reply to a comment on a file?”
“Can I fetch a deleted reply along with its content?”
Tell an agent
Get reply {replyId} on comment {commentId} of file {fileId}.
Fetch deleted reply {replyId} to comment {commentId} on file {fileId}.
PATCH /drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId} Edit a comment reply · Update replies #
Ask an LLM
“How do I edit the text of a reply to a comment?”
“Can I resolve or reopen a comment by updating its reply?”
Tell an agent
Update reply {replyId} on comment {commentId} of file {fileId} to say {content}.
Set reply {replyId} on comment {commentId} of file {fileId} to action {action}.
POST /drive/v3/files/{fileId}/comments/{commentId}/replies Reply to a comment · Create replies #
Ask an LLM
“How do I reply to a comment on a file?”
“Can I mention someone in a reply to a comment?”
Tell an agent
Reply to comment {commentId} on file {fileId} with {content}.
Mention {mentionedEmailAddresses} in a reply to comment {commentId} on file {fileId}.
GET /drive/v3/files/{fileId}/comments/{commentId}/replies List replies to a comment · List replies #
Ask an LLM
“What replies have been posted to a comment on a file?”
“Can I list only the replies that are still deleted?”
Tell an agent
List replies to comment {commentId} on file {fileId}.
Show {pageSize} replies on comment {commentId} of file {fileId}, including deleted ones.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-drive:google-drive-replies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-drive-replies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Drive Replies API
  version: v3
  description: Generated from Google's published Discovery document for Google Drive API (drive v3, revision 20261106). 5 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://www.googleapis.com
tags:
- name: Replies
paths:
  /drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId}:
    delete:
      operationId: drive.replies.delete
      summary: Delete replies
      description: Deletes a reply. For more information, see Manage comments and replies.
      parameters:
      - name: fileId
        in: path
        required: true
        description: The ID of the file.
        schema:
          type: string
      - name: commentId
        in: path
        required: true
        description: The ID of the comment.
        schema:
          type: string
      - name: replyId
        in: path
        required: true
        description: The ID of the reply.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/drive
        - https://www.googleapis.com/auth/drive.file
      - apiKey: []
      tags:
      - Replies
    get:
      operationId: drive.replies.get
      summary: Get replies
      description: Gets a reply by ID. For more information, see Manage comments and replies.
      parameters:
      - name: fileId
        in: path
        required: true
        description: The ID of the file.
        schema:
          type: string
      - name: commentId
        in: path
        required: true
        description: The ID of the comment.
        schema:
          type: string
      - name: replyId
        in: path
        required: true
        description: The ID of the reply.
        schema:
          type: string
      - name: includeDeleted
        in: query
        required: false
        description: Whether to return deleted replies. Deleted replies don't include their original content.
        schema:
          default: 'false'
          type: boolean
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Reply'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/drive
        - https://www.googleapis.com/auth/drive.file
        - https://www.googleapis.com/auth/drive.meet.readonly
        - https://www.googleapis.com/auth/drive.readonly
      - apiKey: []
      tags:
      - Replies
    patch:
      operationId: drive.replies.update
      summary: Update replies
      description: Updates a reply with patch semantics. For more information, see Manage comments and replies.
      parameters:
      - name: fileId
        in: path
        required: true
        description: The ID of the file.
        schema:
          type: string
      - name: commentId
        in: path
        required: true
        description: The ID of the comment.
        schema:
          type: string
      - name: replyId
        in: path
        required: true
        description: The ID of the reply.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Reply'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Reply'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/drive
        - https://www.googleapis.com/auth/drive.file
      - apiKey: []
      tags:
      - Replies
  /drive/v3/files/{fileId}/comments/{commentId}/replies:
    post:
      operationId: drive.replies.create
      summary: Create replies
      description: Creates a reply to a comment. For more information, see Manage comments and replies.
      parameters:
      - name: fileId
        in: path
        required: true
        description: The ID of the file.
        schema:
          type: string
      - name: commentId
        in: path
        required: true
        description: The ID of the comment.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Reply'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Reply'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/drive
        - https://www.googleapis.com/auth/drive.file
      - apiKey: []
      tags:
      - Replies
    get:
      operationId: drive.replies.list
      summary: List replies
      description: Lists a comment's replies. For more information, see Manage comments and replies.
      parameters:
      - name: fileId
        in: path
        required: true
        description: The ID of the file.
        schema:
          type: string
      - name: commentId
        in: path
        required: true
        description: The ID of the comment.
        schema:
          type: string
      - name: includeDeleted
        in: query
        required: false
        description: Whether to include deleted replies. Deleted replies don't include their original content.
        schema:
          default: 'false'
          type: boolean
      - name: pageSize
        in: query
        required: false
        description: The maximum number of replies to return. The service may return fewer than this value. If unspecified, at most 20 replies will be returned. The maximum value is 100; values above 100 will be coerced to 100.
        schema:
          format: int32
          minimum: 1
          type: integer
          default: '20'
          maximum: 100
      - name: pageToken
        in: query
        required: false
        description: The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReplyList'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/drive
        - https://www.googleapis.com/auth/drive.file
        - https://www.googleapis.com/auth/drive.meet.readonly
        - https://www.googleapis.com/auth/drive.readonly
      - apiKey: []
      tags:
      - Replies
components:
  schemas:
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    User:
      description: Information about a Drive user.
      properties:
        photoLink:
          type: string
          readOnly: true
          description: Output only. A link to the user's profile photo, if available.
        emailAddress:
          readOnly: true
          description: Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
          type: string
        kind:
          description: 'Output only. Identifies what kind of resource this is. Value: the fixed string `drive#user`.'
          default: drive#user
          type: string
          readOnly: true
        me:
          description: Output only. Whether this user is the requesting user.
          readOnly: true
          type: boolean
        displayName:
          type: string
          readOnly: true
          description: Output only. A plain text displayable name for this user.
        permissionId:
          type: string
          description: Output only. The user's ID as visible in Permission resources.
          readOnly: true
      type: object
    Reply:
      properties:
        action:
          description: 'The action the reply performed to the parent comment. The supported values are: * `resolve` * `reopen`'
          type: string
        kind:
          description: 'Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#reply"`.'
          type: string
          default: drive#reply
        id:
          type: string
          description: Output only. The ID of the reply.
        htmlContent:
          description: Output only. The content of the reply with HTML formatting.
          type: string
        assigneeEmailAddress:
          type: string
          readOnly: true
          description: Output only. The email address of the user assigned to this comment. If no user is assigned, the field is unset.
        createdTime:
          type: string
          description: The time at which the reply was created (RFC 3339 date-time).
          format: date-time
        mentionedEmailAddresses:
          readOnly: true
          description: Output only. A list of email addresses for users mentioned in this comment. If no users are mentioned, the list is empty.
          type: array
          items:
            type: string
        author:
          $ref: '#/components/schemas/User'
          description: Output only. The author of the reply. The author's email address and permission ID won't be populated.
        content:
          description: The plain text content of the reply. This field is used for setting the content, while `htmlContent` should be displayed. This field is required by the `create` method if no `action` value is specified.
          type: string
        modifiedTime:
          description: The last time the reply was modified (RFC 3339 date-time).
          format: date-time
          type: string
        deleted:
          description: Output only. Whether the reply has been deleted. A deleted reply has no content.
          type: boolean
      description: A reply to a comment on a file. Some resource methods (such as `replies.update`) require a `replyId`. Use the `replies.list` method to retrieve the ID for a reply.
      type: object
    ReplyList:
      description: A list of replies to a comment on a file.
      type: object
      properties:
        kind:
          type: string
          default: drive#replyList
          description: 'Identifies what kind of resource this is. Value: the fixed string `"drive#replyList"`.'
        nextPageToken:
          type: string
          description: The page token for the next page of replies. This will be absent if the end of the replies list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ.
        replies:
          description: The list of replies. If `nextPageToken` is populated, then this list may be incomplete and an additional page of results should be fetched.
          items:
            $ref: '#/components/schemas/Reply'
          type: array
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/drive.appdata: See, create, and delete its own configuration data in your Google Drive
            https://www.googleapis.com/auth/drive.readonly: See and download all your Google Drive files
            https://www.googleapis.com/auth/drive.photos.readonly: View the photos, videos and albums in your Google Photos
            https://www.googleapis.com/auth/drive.file: See, edit, create, and delete only the specific Google Drive files you use with this app
            https://www.googleapis.com/auth/drive.metadata.readonly: See information about your Google Drive files
            https://www.googleapis.com/auth/drive.meet.readonly: See and download your Google Drive files that were created or edited by Google Meet.
            https://www.googleapis.com/auth/drive: See, edit, create, and delete all of your Google Drive files
            https://www.googleapis.com/auth/drive.apps.readonly: View your Google Drive apps
            https://www.googleapis.com/auth/drive.metadata: View and manage metadata of files in your Google Drive
            https://www.googleapis.com/auth/drive.scripts: Modify your Google Apps Script scripts' behavior
externalDocs:
  url: https://developers.google.com/workspace/drive/
x-provenance:
  method: harvested
  publisher: Google
  source: https://www.googleapis.com/discovery/v1/apis/drive/v3/rest
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261106)