REST Api for O365 EO Recoverable items folder

Viewed 211

I want to fetch events from Recoverable items folder inside Deleted Items.

Do we have support with rest API to access these mails/calendars/contacts inside recoverable folder?

I couldn't find any article about it nor it is listed in outlook mail rest API reference.

Any help is appreciated

1 Answers

You can use the WellKnownFolder enumerations for the RecoverableItems folders so make a request like this to list all the folders

https://graph.microsoft.com/v1.0/users('user@domain.com')/MailFolders/recoverableitemsroot/childfolders/?$Top=1000 

or for items in the folders

GET https://graph.microsoft.com/v1.0/users('user@domain.com')/MailFolders/recoverableitemsdeletions/messages
Related