Capability Sources

List Outlook mail folders

Changed on

Lists the connected member's top-level mail folders with message and child folder counts. Hidden folders are not returned. Pass nextPageToken as pageToken for the next page; hasMore with a null token means the list is partial.

get/v1/capabilities/microsoft-365/mail-folders

Request

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

Query parameters

pageToken, string

nextPageToken from the previous page of the same list

maxResults, integer

Maximum per page (default 25).

Response

Microsoft 365 data returned.

object required
ok, true required
folders, object[] required
nextPageToken, string nullable required
hasMore, boolean required

Changes