Start with REST

Store and access files in OneDrive and SharePoint from within your solution. Leverage OneDrive and SharePoint to keep your user content secure, compliant, and available across all devices.

Getting started »

Start with a client library

Whether you love .NET or Python, or are building apps for iOS or Android devices, we want to make it as easy as possible to develop apps for OneDrive and SharePoint.

Choose an SDK »

Use the JavaScript file picker

Want to add OneDrive to your web app fast? With only a few lines of code you can enable your app to open and save files to and from OneDrive and OneDrive for Business.

JavaScript File picker »

At Docady, we integrate with many cloud services. Adding the OneDrive API was so easy, we were up an running in hours, including automated tests. And, having the integration serve both OneDrive consumers and Enterprise users was just perfect.

Nadav Weizmann (Wiz)
CTO and Co-Founder Docady

Try the API

Explore the OneDrive through Microsoft Graph API Explorer.

Try it out »

Integrate with OneDrive mobile

Connect your app to the OneDrive app on iOS and Android using the native OS file contracts.

Learn more »

 

OneDrive API features

OneDrive and Microsoft Graph are used by thousands of applications to connect with files across Office 365, OneDrive, and SharePoint.

Powered by Microsoft Graph
Connect to OneDrive, OneDrive for Business, or SharePoint files with the same API.
Webhooks and notifications
Receive notifications when content changes so your app is always up-to-date.
App folders
Find a home for your files by giving your app its own folder in OneDrive.
Delta sync
Track file and folder changes, efficiently keeping track of cloud files in your app.
Upload large files
Reliably upload large files with a resumable upload API.
CORS support
Call the OneDrive API from your single page JavaScript app.
 

Documentation

All of our documentation is on GitHub, but you can get started here. We’ve worked hard to create a modern, RESTful API environment that works the way you do.

View the documentation »

Samples

Learn more about the Microsoft Graph through sample code projects on GitHub.

View code samples »

StackOverflow logo
Tag a question about OneDrive here. We're listening.
GitHub logo
We are on GitHub too. Find all of our official documentation here.
UserVoice logo
Have a feature to suggest for OneDrive? We want to hear what you have to say.
 

Built by the community, powered by OneDrive

Apps that work with files in OneDrive, OneDrive for Business, and SharePoint. Find more OneDrive partner apps on office.com.