oauth-2.0postmanzoho

How do I retrieve a user's profile picture via Zoho OAuth 2.0 API?


I've been trying to retreive the users profile picture through Zoho OAuth 2.0, testing it with Postman. This API uses authentication through tokens.

First I'm authenticating through:
https://accounts.zoho.com/oauth/v2/auth

and getting the token with:

https://accounts.zoho.com/oauth/v2/token

I used these scopes while testing:

Endpoints I’ve tried (all return either the default placeholder image or blank):

Issue:
Every request returns either the default placeholder image or a blank response, even when I’m certain the user has a profile picture set.

Question:
Is there a different endpoint, scope, or parameter required to retrieve the actual profile picture for a user?


Solution

  • Here's what I tried and it worked.


    enter image description here