Documents

Browse, search and list recent OneDrive files

Changed on

Requires organization membership and Documents, and the member's Microsoft 365 connection with OneDrive read access. Other people's drives and SharePoint need the read-all-files permission. Saves also require Document editing, OneDrive write access (full file access outside the member's own OneDrive) and a matching file version.

get/v1/documents/microsoft-365/files

Request

  • Base URL
    https://api.openworklabs.com
  • URL
    https://api.openworklabs.com/v1/documents/microsoft-365/files
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Query parameters

view'recent' | 'folder'
'root'
OR
'shared'
OR
string
querystring
cursorstring

Response

Document result.

nextCursorstring nullable required

Changes