OneDrive
Upload Sessions

OneDrive Upload Sessions API

Sync upload sessions data with OneDrive through Apideck's unified API. One integration, instant access.

Supported Operations for OneDrive Upload Sessions

Full CRUD support available through our unified API

list
get
create
update
delete

Supported Fields

6 fields

Fields available for OneDrive Upload Sessions

idsuccesspart_sizeparallel_upload_supporteduploaded_byte_rangeexpires_at

API Model Preview

Sample response structure for upload sessions

{
  "id": "12345",
  "success": "string",
  "part_size": "string",
  "parallel_upload_supported": "string",
  "uploaded_byte_range": "string",
  "expires_at": "2024-01-15T10:30:00.000Z"
}

Quick Start Example

Start syncing OneDrive upload sessions in minutes

Node.js
import { Apideck } from '@apideck/unify'

const apideck = new Apideck({
  apiKey: process.env.APIDECK_API_KEY,
  appId: 'YOUR_APP_ID',
  consumerId: 'YOUR_CONSUMER_ID'
})

// List upload sessions from OneDrive
const result = await apideck.file-storage.uploadSessions.list({
  serviceId: 'onedrive'
})

for await (const page of result) {
  console.log(page)
}
// Returns unified upload sessions data

Other connectors with Upload Sessions support

We build and maintain connectors, so you don't have to. View our full list of File Storage connectors.
Missing a connector? We're able to add new connectors.

Includes 2,500 free API calls

OneDrive SDKs

Build OneDrive integrations in your favorite language with our official SDKs.

Launch accounting integrations in weeks, not months

Sign Up