You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
includeHiddenFolders: true, // Microsoft only - includes hidden folders
43
+
},
44
+
});
45
+
```
46
+
47
+
This parameter defaults to `false` and when set to `true`, includes folders that are typically hidden from the user interface, such as system folders used by Microsoft Exchange for internal operations.
48
+
49
+
## Expected Output
50
+
51
+
The example will output:
52
+
1. A list of all visible folders
53
+
2. A list of all folders including hidden ones (if using a Microsoft account)
54
+
3. A filtered list showing only parent folders with their metadata
55
+
56
+
## Error Handling
57
+
58
+
The example includes proper error handling and will display helpful error messages if:
59
+
- Environment variables are not set
60
+
- API requests fail
61
+
- Authentication issues occur
62
+
=======
1
63
# Nylas Folders API Examples
2
64
3
65
This directory contains examples of how to use the Nylas Folders API with the Nylas Node.js SDK, including the new `singleLevel` query parameter.
0 commit comments