👀  Hiring Founding Technical Product Owner (Integrations) →

Cloud Storage

Integrate with OneDrive Using Agave

OneDrive is a cloud-based file storage system. Using Agave, you can integrate with OneDrive and dozens of other systems in hours using a single API.

Get Access

OneDrive Illustration Read Data Write Data
File Manager

Sync OneDrive Data

Files Management Read Write
files
file transfers
folders
Pass-through Requests Read Write
More OneDrive endpoints (without unified model)
Want a new endpoint with unified data model? Reach out to us and we can add it in 2 weeks.

Sandbox + Sample Data for Testing

Agave has sandbox environments with sample data that you can use instead of spending time creating your own.

Dev Enviornment

Get Unified and Raw Data in Each API Call

Agave provides unified models and access to source data. In addition, we even support pass-through requests, so you are never blocked by us.

Example Request
curl https://api.agaveapi.com/files \
	# 3 headers that are consisttent
	-H 'Api-Version: 2021-11-21' \
	-H 'Client-Id: your-client-id' \
	-H 'Client-Secret: your-client-secret' \
	# Change the account token to request data from different accounts and different systems
	-H 'Account-Token: onedrive-example-account-token'
Unified Data

Consistent schema across all systems

{
  "id": "ee9b53e7-f982-4be6-bc12-75f716d3ee94",
  "source_id": "12345",
  "creator_id": "ee9b53e7-f982-4be6-bc12-75f716d3ee94",
  "file_version_id": "ee9b53e7-f982-4be6-bc12-75f716d3ee94",
  "filename": "Test_File.pdf",
  "folder_id": "ee9b53e7-f982-4be6-bc12-75f716d3ee94",
  "name": "Test_File",
  "notes": [ "This File is confidential." ],
  "preview_url": "https://storage.agaveapi.com/preview/file.pdf?signature=xxx&expires_at=20220101T000001Z",
  "size": 98765,
  "type": "Adobe Acrobat PDF",
  "url": "https://storage.agaveapi.com/download/file.pdf?signature=xxx&expires_at=20220530T031901Z",
  "version": "4",
  "source_create_time": "2022-01-01T00:00:00Z",
  "source_update_time": "2022-01-01T00:00:00Z",
}
Source Data

Get raw output from OneDrive

{
  "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('29e13967-4748-47bc-ab37-e45b431dbcc6')/drive/items/$entity",
  "@microsoft.graph.downloadUrl": "https://agaveapi-my.sharepoint.com/personal/project-user-1_agaveapi_onmicrosoft_com/_layouts/15/download.aspx?UniqueId=...",
  "createdDateTime": "2022-06-13T22:35:30Z",
  "eTag": "\"{8297ACE7-46F4-40F0-8B84-4AACDF1E7605},1\"",
  "id": "01ZIKLJ27HVSLYF5CG6BAIXBCKVTPR45QF",
  "lastModifiedDateTime": "2022-06-13T22:35:30Z",
  "name": "logo-square-inverse.png",
  "webUrl": "https://agaveapi-my.sharepoint.com/personal/project-user-1_agaveapi_onmicrosoft_com/Documents/logo-square-inverse.png",
  "cTag": "\"c:{8297ACE7-46F4-40F0-8B84-4AACDF1E7605},1\"",
  "size": 17687,
  "createdBy": {},
  "lastModifiedBy": {},
  "parentReference": {},
  "file": {},
  ...
}

Learn more →

Pass-through Request

Option to call OneDrive APIs directly

curl --request POST https://api.agaveapi.com/passthrough \
--header 'API-Version: 2021-11-21' \
--header 'Client-Id: your-client-id' \
--header 'Client-Secret: your-client-secret' \
--header 'Account-Token: onedrive-account-token' \
--header 'Content-Type: application/json' \
--data-raw '{
  "method": "GET",
  "path": "/rest/v1.0/files",
  "data": { "path": "/project-12345/" }
}'

Learn more →

Get Started

Reach out and request access now. We will be in touch in 24 hours.

Get Access