Home

O365 latest files API?

Sayan Ghosh
New Contributor
As a O365 user, I love the capability of the Outlook client to show the latest files I have worked on across all Office client apps in Recent Files tabs. Is there a client side API that can be embedded into custom apps (at least on Windows, ideally across all platforms supporting O365 client apps) which would allow the custom app to have access to Recent Files? Could be a big boost in productivity for custom apps.
2 Replies
Did some more digging around and seems that would be in the OneDrive API (in which case I used the wrong forum, apologies!). Am I correct in understanding? https://dev.onedrive.com/drives/recent_files.htm

Hi Sayan, I can confirm that this REST call will do the trick.
You may also want to take a look at the Microsoft Graph for the latest version of this REST call:

https://graph.microsoft.io/en-us/docs/api-reference/beta/api/drive_recent

Related Conversations
Urgent - Teams and Yealink
reditguy in Microsoft Teams on
4 Replies
Restoring deleted "Files" folder
Daniel Carp in Microsoft Teams on
15 Replies
Microsoft ATA RESTful API
rovish2204 in Microsoft Advanced Threat Analytics on
1 Replies
OneDrive taking up space on C drive
Tim Hunter in OneDrive for Business on
8 Replies
SharePoint integration in Teams
Alexandre Decaesteker in Microsoft Teams AMA on
10 Replies