I am trying to create a Microsoft Graph Webhook to subscribe the emails.
What is the difference between these two Resource in this Webhook doc? Thanks
me/messages
me/mailfolders('inbox')/messages
https://graph.microsoft.com/v1.0/me/messages
Represents a top-level "messages" resource that provides access to all messages. You can then filter them using optional parameters.
For example, adding the following filter parameter restricts the messages returned to only those with the emailAddress property of [email protected].
https://graph.microsoft.com/v1.0/me/messages?filter=emailAddress eq '[email protected]'
https://graph.microsoft.com/v1.0/me/mailfolders('inbox')/messages
Resource represents messages in a specific folder ('inbox' folder in this case).