openintegration200+ connectors

Create upload session in SharePoint

File Storage API · write, waits for approval · 100% field coverage

Your agent can create upload session in SharePoint through Apideck's File Storage API, the same call it makes for every File Storage app. It changes data in the customer's SharePoint account, so it stops with the exact request until a person approves it. Apideck adds the customer's SharePoint credentials, so no token ever reaches the agent.

Paste into Claude Code, Cursor or any coding agent.

The call

POST https://unify.apideck.com/file-storage/upload-sessions

Headers: x-apideck-service-id: sharepoint, plus your app id and the customer's consumer id. Apideck MCP tool: file-storage-upload-sessions-add. Agent operation id: unified.file-storage.uploadSessionsAdd.

Body fields

FieldTypeDescription
name · requiredstringThe name of the file.
parent_folder_id · requiredstringThe parent folder to create the new file within. This can be an ID or a path depending on the downstream folder. Please
drive_idstringID of the drive to upload to.
size · requiredintegerThe size of the file in bytes

More for upload sessions in SharePoint

get_upload_sessiondelete_upload_session

Create upload session in other File Storage apps

The same call works for each of these; only the service id changes.

BoxDropboxGoogle DriveOneDrive