Google Drive Accessproposals API

The Accessproposals API from Google Drive — 3 operation(s) for accessproposals.

GitHub OpenAPI

Operations 3

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

GET /drive/v3/files/{fileId}/accessproposals List pending access proposals on a file · List accessproposals #
Ask an LLM
“Who has asked to access a file and is waiting for approval?”
“Can I see all pending access proposals on one file?”
Tell an agent
List access proposals on file {fileId}.
Show pending access requests for {fileId}.
GET /drive/v3/files/{fileId}/accessproposals/{proposalId} Get one pending access proposal · Get accessproposals #
Ask an LLM
“What are the details of a specific access proposal?”
“Can I look up a single pending access request by ID?”
Tell an agent
Get access proposal {proposalId} on file {fileId}.
Show pending access request {proposalId} for {fileId}.
POST /drive/v3/files/{fileId}/accessproposals/{proposalId}:resolve Approve or deny a pending access proposal · Resolve accessproposals #
Ask an LLM
“How do I approve a pending request to access a file?”
“Can I deny an access proposal and optionally notify the requester?”
Tell an agent
Resolve access proposal {proposalId} on {fileId} with action {action}.
Approve access proposal {proposalId} on {fileId} as {action} and notify the requester ({sendNotification}).

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-accessproposals-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-accessproposals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Drive Accessproposals API
  version: v3
  description: Generated from Google's published Discovery document for Google Drive API (drive v3, revision 20261106). 3 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://www.googleapis.com
tags:
- name: Accessproposals
paths:
  /drive/v3/files/{fileId}/accessproposals:
    get:
      operationId: drive.accessproposals.list
      summary: List accessproposals
      description: 'List the access proposals on a file. For more information, see Manage pending access proposals. Note: Only approvers are able to list access proposals on a file. If the user isn''t an approver, a 403 error is returned.'
      parameters:
      - name: fileId
        in: path
        required: true
        description: Required. The ID of the item the request is on.
        schema:
          type: string
      - name: pageSize
        in: query
        required: false
        description: Optional. The number of results per page.
        schema:
          format: int32
          type: integer
      - name: pageToken
        in: query
        required: false
        description: Optional. The continuation token on the list of access requests.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAccessProposalsResponse'
        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.metadata
        - https://www.googleapis.com/auth/drive.metadata.readonly
        - https://www.googleapis.com/auth/drive.readonly
      - apiKey: []
      tags:
      - Accessproposals
  /drive/v3/files/{fileId}/accessproposals/{proposalId}:
    get:
      operationId: drive.accessproposals.get
      summary: Get accessproposals
      description: Retrieves an access proposal by ID. For more information, see Manage pending access proposals.
      parameters:
      - name: fileId
        in: path
        required: true
        description: Required. The ID of the item the request is on.
        schema:
          type: string
      - name: proposalId
        in: path
        required: true
        description: Required. The ID of the access proposal to resolve.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessProposal'
        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.metadata
        - https://www.googleapis.com/auth/drive.metadata.readonly
        - https://www.googleapis.com/auth/drive.readonly
      - apiKey: []
      tags:
      - Accessproposals
  /drive/v3/files/{fileId}/accessproposals/{proposalId}:resolve:
    post:
      operationId: drive.accessproposals.resolve
      summary: Resolve accessproposals
      description: Approves or denies an access proposal. For more information, see Manage pending access proposals.
      parameters:
      - name: fileId
        in: path
        required: true
        description: Required. The ID of the item the request is on.
        schema:
          type: string
      - name: proposalId
        in: path
        required: true
        description: Required. The ID of the access proposal to resolve.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolveAccessProposalRequest'
      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:
      - Accessproposals
components:
  schemas:
    ResolveAccessProposalRequest:
      description: Request message for resolving an AccessProposal on a file.
      properties:
        role:
          type: array
          description: 'Optional. The roles that the approver has allowed, if any. For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles). Note: This field is required for the `ACCEPT` action.'
          items:
            type: string
        action:
          type: string
          enum:
          - ACTION_UNSPECIFIED
          - ACCEPT
          - DENY
          description: Required. The action to take on the access proposal.
        view:
          description: Optional. Indicates the view for this access proposal. This should only be set when the proposal belongs to a view. Only `published` is supported.
          type: string
        sendNotification:
          description: Optional. Whether to send an email to the requester when the access proposal is denied or accepted.
          type: boolean
      type: object
    AccessProposalRoleAndView:
      description: A wrapper for the role and view of an access proposal. For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles).
      properties:
        role:
          type: string
          description: 'The role that was proposed by the requester. The supported values are: * `writer` * `commenter` * `reader`'
        view:
          description: Indicates the view for this access proposal. Only populated for proposals that belong to a view. Only `published` is supported.
          type: string
      type: object
    ListAccessProposalsResponse:
      description: The response to an access proposal list request.
      type: object
      properties:
        accessProposals:
          type: array
          items:
            $ref: '#/components/schemas/AccessProposal'
          description: The list of access proposals. This field is only populated in Drive API v3.
        nextPageToken:
          type: string
          description: The continuation token for the next page of results. This will be absent if the end of the results 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.
    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
    AccessProposal:
      properties:
        rolesAndViews:
          items:
            $ref: '#/components/schemas/AccessProposalRoleAndView'
          description: A wrapper for the role and view of an access proposal. For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles).
          type: array
        fileId:
          description: The file ID that the proposal for access is on.
          type: string
        createTime:
          description: The creation time.
          format: google-datetime
          type: string
        requestMessage:
          type: string
          description: The message that the requester added to the proposal.
        requesterEmailAddress:
          description: The email address of the requesting user.
          type: string
        proposalId:
          description: The ID of the access proposal.
          type: string
        recipientEmailAddress:
          type: string
          description: The email address of the user that will receive permissions, if accepted.
      type: object
      description: Manage outstanding access proposals on a file.
  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)