We would like to bring your attention to a breaking API change that would impact the way agent profile pictures are fetched in a large number of APIs (tickets, contacts, articles, etcetera).
This change particularly pertains to cases when agents do not have profile pictures set in their Zoho accounts.
Currently, if an agent does not have a profile picture, this is indicated in the API response through the photoURL key, whose value is returned as null. And you handle such cases in your app by displaying a generic user silhouette or some other placeholder image.
Going forward, if a profile picture is not set for an agent, the photoURL key will not return null. It will instead return the Agent Photo URL, and when you try to render the photo using the URL, you will receive a 204 response code in return.
Please note that this change will impact a huge number of APIs. To access the list of APIs that will be impacted, click here.
We request you to thoroughly review your API-based tools and tweak the code where necessary. We also request you to make these modifications by August 1, 2020.