
Drive API
Drive API
Google Drive API exposes file storage, sharing, and search — the foundation for document collaboration integrations.
Generous per-user quota
Large file uploads need the resumable upload protocol
Enable Drive API and configure OAuth at console.cloud.google.com. After user consent, call files.list, files.create, etc. Common scopes: drive.file (only files your app created — safer) or drive (all files).
Uptime · 30-day window
About this API
The Google Drive API exposes Drive as a REST surface covering file CRUD, folder organization, permission sharing, search, and change notifications. It pairs with the Google Docs, Sheets, and Slides APIs so apps can create and edit native Google docs programmatically.
Uploads come in three flavors: simple (< 5 MB), multipart (metadata + data in one request), and resumable (large files, resumable on connection drops). For production, default to resumable so brief network hiccups do not waste a long upload. The permission model centers on the permissions resource — you can grant access to a single email, a Workspace domain, or "anyone with the link." Prefer the drive.file scope over the full drive scope where possible: it avoids the "access all your files" warning during consent and is much easier to get through Google verification.
What you can build
- 1Add "Save to Google Drive" to your app
- 2Use Drive as a headless file store served to your frontend
- 3Bulk reorganize or migrate documents and permissions
- 4Sync external files into editable Google Docs
- 5React to changes (e.g. new file triggers analysis)
Strengths & limitations
Strengths
- Generous per-user quota
- Manages Drive, Docs, Sheets, Slides files in one API
- File version history and restore support
- Permissions API lets you manage sharing programmatically
Limitations
- Large file uploads need the resumable upload protocol
- Some operations have per-second rate limits — batch jobs need backoff
- googleapis.com is inaccessible from mainland China without a proxy
Example request
curl https://google.com/<endpoint> \
-H "Authorization: Bearer $ACCESS_TOKEN"Getting started
Enable Drive API and configure OAuth at console.cloud.google.com. After user consent, call files.list, files.create, etc. Common scopes: drive.file (only files your app created — safer) or drive (all files).
FAQ
Is the API billed?+
Free; quotas in units, with 1 billion units per user per day — plenty of headroom for normal apps.
drive vs drive.file — which scope should I use?+
Use drive.file if you only touch files your app created — safer and easier to pass Google verification. Use drive only when you must read everything.
Large file uploads keep failing — why?+
Switch to resumable uploads. They chunk the file and resume on disconnect, which is far more tolerant of timeouts and network jitter.
Can I watch a single file for changes?+
Yes — files.watch sets up a webhook. For org-wide monitoring use changes.watch over the entire user Drive.
Technical details
- Auth type
- oauth
- Pricing
- free
- Protocols
- REST
- SDKs
- python, javascript, java, go, ruby
- Response time
- 44 ms
- Last health check
- 5/12/2026, 7:37:31 AM
Endpoints
Parsed from the OpenAPI spec. Showing 12 of 48 non-deprecated endpoints.
/aboutabout/changeschanges/changes/startPageTokenchanges/changes/watchchanges/channels/stopchannels/drivesdrives/drivesdrives/drives/{driveId}drives/drives/{driveId}drives/drives/{driveId}drives/drives/{driveId}/hidedrives/drives/{driveId}/unhidedrives36 more endpoints not shown. See the OpenAPI spec for the full list.
More from Google
Google Workspace Admin SDK API programmatically manages Workspace organizations — users, groups, devices, domains, audit logs, organizational units.
Retrieve AdMob accounts, apps, ad units, ad sources, and generate mediation or network reports.
Work with AdSense Host accounts, ad clients, ad units, reports, and ad code generation from one API surface.
Programmatically manage Apigee organizations, API proxy deployments, attributes, certificates, and hybrid operations.
Google BigQuery API is the REST interface to GCP's flagship data warehouse — execute SQL queries, manage datasets/tables, stream inserts, and use built-in ML.
Control Binary Authorization attestors and policy checks for container images deployed to GKE and Anthos.
Fetch Business Profile location metrics, daily time series, and monthly search keyword impressions.
Google Calendar API lets apps create, read, and update calendar events programmatically — the go-to integration for scheduling apps.