Docs
Get Folders
GET /connections/{connectionId}/folders
GET
/connections/{connectionId}/foldersLists the folders in the caller's mailbox, read live from Microsoft. Leave parentId empty for the top level, or pass a folder's id to list its subfolders. Use it to pick a folder for FolderMappings_CreateMapping.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| connectionId | uuid | Required |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| parentId | string | Optional |
Response
Type: GetFolderResponse[]
GetFolderResponse
| Field | Type | Description |
|---|---|---|
| providerFolderId | string| null | |
| name | string| null | |
| hasChildren | boolean |