List mailFolders
Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. By default, this operation does not return hidden folders. Use the includeHiddenFolders query parameter to include them in the response.
Query parameters
Include Hidden Folders
Show only the first n items
Skip the first n items
Search items by search phrases
Filter items by property values
Include count of items
Order items by property values
Select properties to be returned
Expand related entities
Response
Retrieved collection
Changes
Changed in 5 of the 10 revisions of this API.1164
- ○
added the optional property
allOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/contentBytesto the response with the2XXstatusresponse-optional-property-added
- ○
- ○
api operation id
me.ListMailFoldersremoved and replaced withlistMailFoldersapi-operation-id-removed
- ○
- ○
mapped value for discriminator key
#microsoft.graph.attachmentchanged frommicrosoft.graph.attachmenttoMicrosoftGraphAttachmentforallOf[subschema #2]/value/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.attachmentchanged frommicrosoft.graph.attachmenttoMicrosoftGraphAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.attachmentchanged frommicrosoft.graph.attachmenttoMicrosoftGraphAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.attachmentchanged frommicrosoft.graph.attachmenttoMicrosoftGraphAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.eventMessagechanged frommicrosoft.graph.messagetoMicrosoftGraphMessageforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.fileAttachmentchanged frommicrosoft.graph.fileAttachmenttoMicrosoftGraphAttachmentforallOf[subschema #2]/value/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.fileAttachmentchanged frommicrosoft.graph.fileAttachmenttoMicrosoftGraphAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.fileAttachmentchanged frommicrosoft.graph.fileAttachmenttoMicrosoftGraphAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.fileAttachmentchanged frommicrosoft.graph.fileAttachmenttoMicrosoftGraphAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.fileAttachmentchanged frommicrosoft.graph.fileAttachmenttoMicrosoftGraphAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.itemAttachmentchanged frommicrosoft.graph.attachmenttoMicrosoftGraphAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailFolderchanged frommicrosoft.graph.mailFoldertoMicrosoftGraphMailFolderforallOf[subschema #2]/value/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailFolderchanged frommicrosoft.graph.mailFoldertoMicrosoftGraphMailFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailFolderchanged frommicrosoft.graph.mailFoldertoMicrosoftGraphMailFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailFolderchanged frommicrosoft.graph.mailFoldertoMicrosoftGraphMailFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailSearchFolderchanged frommicrosoft.graph.mailSearchFoldertoMicrosoftGraphMailFolderforallOf[subschema #2]/value/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailSearchFolderchanged frommicrosoft.graph.mailSearchFoldertoMicrosoftGraphMailFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailSearchFolderchanged frommicrosoft.graph.mailSearchFoldertoMicrosoftGraphMailFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailSearchFolderchanged frommicrosoft.graph.mailSearchFoldertoMicrosoftGraphMailFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailSearchFolderchanged frommicrosoft.graph.mailSearchFoldertoMicrosoftGraphMailFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.messagechanged frommicrosoft.graph.messagetoMicrosoftGraphMessageforallOf[subschema #2]/value/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.messagechanged frommicrosoft.graph.messagetoMicrosoftGraphMessageforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.messagechanged frommicrosoft.graph.messagetoMicrosoftGraphMessageforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #2: outlookItem]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.messagechanged frommicrosoft.graph.messagetoMicrosoftGraphMessageforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.messagechanged frommicrosoft.graph.messagetoMicrosoftGraphMessageforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.outlookItemchanged frommicrosoft.graph.outlookItemtoMicrosoftGraphOutlookItemforallOf[subschema #2]/value/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.outlookItemchanged frommicrosoft.graph.outlookItemtoMicrosoftGraphOutlookItemforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.outlookItemchanged frommicrosoft.graph.outlookItemtoMicrosoftGraphOutlookItemforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.outlookItemchanged frommicrosoft.graph.outlookItemtoMicrosoftGraphOutlookItemforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.referenceAttachmentchanged frommicrosoft.graph.attachmenttoMicrosoftGraphAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
- ▲
for the
queryrequest parameterincludeHiddenFolders, the type/format was changed fromstring/toboolean/request-parameter-type-changed
- ▲
- ●
removed the optional property
allOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/contentBytesfrom the response with the2XXstatusresponse-optional-property-removed
- ○
api operation id
listMailFoldersremoved and replaced withme.ListMailFoldersapi-operation-id-removed
- ○
for the
queryrequest parameterincludeHiddenFolders, the type/format was generalized fromboolean/tostring/request-parameter-type-generalized
- ○
mapped value for discriminator key
#microsoft.graph.attachmentchanged fromMicrosoftGraphAttachmenttomicrosoft.graph.attachmentforallOf[subschema #2]/value/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.attachmentchanged fromMicrosoftGraphAttachmenttomicrosoft.graph.attachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.attachmentchanged fromMicrosoftGraphAttachmenttomicrosoft.graph.attachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.attachmentchanged fromMicrosoftGraphAttachmenttomicrosoft.graph.attachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.eventMessagechanged fromMicrosoftGraphMessagetomicrosoft.graph.messageforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.fileAttachmentchanged fromMicrosoftGraphAttachmenttomicrosoft.graph.fileAttachmentforallOf[subschema #2]/value/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.fileAttachmentchanged fromMicrosoftGraphAttachmenttomicrosoft.graph.fileAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.fileAttachmentchanged fromMicrosoftGraphAttachmenttomicrosoft.graph.fileAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.fileAttachmentchanged fromMicrosoftGraphAttachmenttomicrosoft.graph.fileAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.fileAttachmentchanged fromMicrosoftGraphAttachmenttomicrosoft.graph.fileAttachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.itemAttachmentchanged fromMicrosoftGraphAttachmenttomicrosoft.graph.attachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailFolderchanged fromMicrosoftGraphMailFoldertomicrosoft.graph.mailFolderforallOf[subschema #2]/value/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailFolderchanged fromMicrosoftGraphMailFoldertomicrosoft.graph.mailFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailFolderchanged fromMicrosoftGraphMailFoldertomicrosoft.graph.mailFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailFolderchanged fromMicrosoftGraphMailFoldertomicrosoft.graph.mailFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailSearchFolderchanged fromMicrosoftGraphMailFoldertomicrosoft.graph.mailSearchFolderforallOf[subschema #2]/value/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailSearchFolderchanged fromMicrosoftGraphMailFoldertomicrosoft.graph.mailSearchFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailSearchFolderchanged fromMicrosoftGraphMailFoldertomicrosoft.graph.mailSearchFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailSearchFolderchanged fromMicrosoftGraphMailFoldertomicrosoft.graph.mailSearchFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.mailSearchFolderchanged fromMicrosoftGraphMailFoldertomicrosoft.graph.mailSearchFolderforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.messagechanged fromMicrosoftGraphMessagetomicrosoft.graph.messageforallOf[subschema #2]/value/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.messagechanged fromMicrosoftGraphMessagetomicrosoft.graph.messageforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.messagechanged fromMicrosoftGraphMessagetomicrosoft.graph.messageforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #2: outlookItem]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.messagechanged fromMicrosoftGraphMessagetomicrosoft.graph.messageforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.messagechanged fromMicrosoftGraphMessagetomicrosoft.graph.messageforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.outlookItemchanged fromMicrosoftGraphOutlookItemtomicrosoft.graph.outlookItemforallOf[subschema #2]/value/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.outlookItemchanged fromMicrosoftGraphOutlookItemtomicrosoft.graph.outlookItemforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.outlookItemchanged fromMicrosoftGraphOutlookItemtomicrosoft.graph.outlookItemforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.outlookItemchanged fromMicrosoftGraphOutlookItemtomicrosoft.graph.outlookItemforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
#microsoft.graph.referenceAttachmentchanged fromMicrosoftGraphAttachmenttomicrosoft.graph.attachmentforallOf[subschema #2]/value/items/allOf[subschema #2: mailFolder]/messages/items/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/response property for the response status2XXresponse-property-discriminator-mapping-changed
- ●