Get user images by API

Get user images by API

Hi
For our internal management software, I want to retrieve user photos via REST API:
  1. curl --location --request GET 'https://profile.zoho.com/file?fs=thumb&ID=<zoid>' \
    --header 'Authorization: Zoho-oauthtoken <token>'
The token has `profile.userphoto.ALL`, but it gives me the default user thumbnail.
How can I retrieve Zoho Cliq User Photos?