OneDrive
61 operations2 webhooks
Microsoft cloud storage for files, folders, sharing, and Office document synchronization.
Supported operations
- GetRead-only
Get a drive by ID
- Get GroupRead-only
Get a group's drive
- Get QuotaRead-only
Get the user's drive and quota information
- Get Recent ItemsRead-only
Get recently accessed drive items
- Get RootRead-only
Get the root folder of the user's drive
- Get Shared ItemsRead-only
Get items shared with the user
- Get Special FolderRead-only
Get a special folder (documents, photos, cameraroll)
- ListRead-only
List available drives
- List ActivitiesRead-only
List activities across the drive
- List BundlesRead-only
List bundles in a drive
- List ChangesRead-only
List changes to drive items using delta
Supported triggers
- Drive Notification
Microsoft Graph drive change notification — item created, updated, or deleted
- Validation
Microsoft Graph OneDrive webhook validation handshake
FAQ
Install corsair and @corsair-dev/onedrive, add the OneDrive plugin, and connect with OAuth. Then call methods like corsair.onedrive.api.drive.get() from your app. Corsair verifies webhooks, stores tokens, and syncs data per tenant.
Yes. OneDrive needs an OAuth app with scopes that match what you automate. Register the app in OneDrive, configure redirect URLs, then connect through Corsair or managed OAuth in Hub.
Yes. One Corsair client can hit OneDrive, GitHub, Notion, Stripe, and the rest. Trigger OneDrive from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for microsoft cloud storage for files, folders, sharing, and office document synchronization. Common builds include sync jobs, admin tooling, and agents that call OneDrive APIs from your backend. Webhook handlers react to OneDrive events and fan out to Slack, email, or other plugins in the same tenant. Local DB entities let you query synced OneDrive records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per OneDrive API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/onedrive in the open repo. When OneDrive ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your OneDrive data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store OneDrive data on your behalf.