Build engaging experiences connected to OneDrive

Add seamless file storage

Easily add file storage to your app and connect to Office 365 files with just a few lines of code.

Share and collaborate at scale

Use OneDrive's robust sharing and collaboration tools to share between teams, organizations, or the world.

Engage more users

Connect your app to tens of millions of users and access content where they already do their work everyday.

Supported Platforms

Upload Search Share Convert to PDF

Upload content with ease

Upload a file up to 4MB with a single request, or use createUploadSession to upload files up to 15GB with resumable transfers.

VIEW THE DOCS

curl https://graph.microsoft.com/v1.0/me/drive/root:/document1.docx:/content -X PUT -d @document1.docx -H "Authorization: bearer access_token_here"

Quickly find what you're looking for

Search for documents within a folder or across all files a user can access to find just what you're looking for, all with a single request.

VIEW THE DOCS

curl https://graph.microsoft.com/v1.0/me/drive/search(q='query-text') -H "Authorization: bearer access_token_here"

Enterprise sharing, without the work

Quickly share a file anonymously, within an org, or between organizations with a sharing link.

VIEW THE DOCS

curl https://graph.microsoft.com/v1.0/me/drive/root:/document1.docx:/createLink -X POST -d '{"type": "view"}' -H "Authorization: bearer access_token_here"

Convert files to the format you need

Convert documents to PDF, or fetch thumbnails for over 200 different formats your app can preview without directly supporting.

VIEW THE DOCS

curl https://graph.microsoft.com/v1.0/me/drive/root:/document1.docx:/content?format=pdf -o document1.pdf -H "Authorization: bearer access_token_here"

Stay current. Get help. Inform the future.