I am using a Server-to-server application’s access token. And I observed that to access a user’s email messages I have to use access token of that user’s app.
But how can I get all user’s mails from using a master/admin user’s credentials?
Hi @nilesh1
Thanks for reaching out to us!
Are you getting any error when calling this endpoint. using a Server to Server Oauth token? or what are you getting back in your response?
Hi @nilesh1
Sorry for the late reply here!
I was able to replicate this issue on my end and this is intended!
You can only retrieve mailboxes using a User level app