API
tryapis.com
Find anything
⌘ K
Google Drive API Endpoints
about
changes
channels
comments
drives
files
Lists or searches files.
GET
Creates a new file.
POST
Generates a set of file IDs which can be provided in create or copy requests.
GET
Permanently deletes all of the user's trashed files.
DELETE
Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted.
DELETE
Gets a file's metadata or content by ID.
GET
Updates a file's metadata and/or content. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might change automatically, such as modifiedDate. This method supports patch semantics.
PATCH
Creates a copy of a file and applies any requested updates with patch semantics. Folders cannot be copied.
POST
Exports a Google Workspace document to the requested MIME type and returns exported byte content. Note that the exported content is limited to 10MB.
GET
Subscribes to changes to a file
POST
permissions
replies
revisions
teamdrives
Gets information about the user, the user's Drive, and system capabilities.
Lists the changes for a user or shared drive.
Gets the starting pageToken for listing future changes.
Subscribes to changes for a user.
Stop watching resources through this channel
Lists a file's comments.
Creates a new comment on a file.
Deletes a comment.
Gets a comment by ID.
Updates a comment with patch semantics.
Lists the user's shared drives.
Creates a new shared drive.
Permanently deletes a shared drive for which the user is an organizer. The shared drive cannot contain any untrashed items.
Gets a shared drive's metadata by ID.
Updates the metadate for a shared drive.
Hides a shared drive from the default view.
Restores a shared drive to the default view.
Lists or searches files.
Creates a new file.
Generates a set of file IDs which can be provided in create or copy requests.
Permanently deletes all of the user's trashed files.
Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted.
Gets a file's metadata or content by ID.
Updates a file's metadata and/or content. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might change automatically, such as modifiedDate. This method supports patch semantics.
Creates a copy of a file and applies any requested updates with patch semantics. Folders cannot be copied.
Exports a Google Workspace document to the requested MIME type and returns exported byte content. Note that the exported content is limited to 10MB.
Subscribes to changes to a file
Lists a file's or shared drive's permissions.
Creates a permission for a file or shared drive.
Deletes a permission.
Gets a permission by ID.
Updates a permission with patch semantics.
Lists a comment's replies.
Creates a new reply to a comment.
Deletes a reply.
Gets a reply by ID.
Updates a reply with patch semantics.
Lists a file's revisions.
Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted.
Gets a revision's metadata or content by ID.
Updates a revision with patch semantics.
Deprecated use drives.list instead.
Deprecated use drives.create instead.
Deprecated use drives.delete instead.
Deprecated use drives.get instead.
Deprecated use drives.update instead
Feedback on this page?
View docs
POST
https://www.googleapis.com/drive/v3/files
Send
Creates a new file.
Authorization
Query parameters (15)
Body (59)
Sign in with Google
Scopes requested: https://www.googleapis.com/auth/drive
Authorization
tryapis.com never stores your requests or responses
A PROJECT BY
fillout.com