openintegration200+ connectors

List files in SharePoint

File Storage API · read · 91% field coverage

Your agent can list files in SharePoint through Apideck's File Storage API, the same call it makes for every File Storage app. It only reads, so it runs straight away; what SharePoint returns is screened before the agent sees 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

GET https://unify.apideck.com/file-storage/files

Headers: x-apideck-service-id: sharepoint, plus your app id and the customer's consumer id. Apideck MCP tool: file-storage-files-all. Agent operation id: unified.file-storage.filesAll.

ParameterInDescription
cursorqueryCursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
limitqueryNumber of results to return. Minimum 1, Maximum 200, Default 20
filter[drive_id]queryID of the drive to filter on
filter[folder_id]queryID of the folder to filter on. The root folder has an alias "root"
filter[shared]queryOnly return files and folders that are shared
sort[by]queryThe field on which to sort the Files
sort[direction]queryThe direction in which to sort the results

More for files in SharePoint

get_fileupdate_filedelete_file

List files in other File Storage apps

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

BoxDropboxGoogle DriveOneDrive