You can use this method to download the photos of Leads or Contacts.
XML Format:
For Leads:
https://crm.zoho.com/crm/private/xml/Leads/downloadPhoto?authtoken=Auth Token&scope=crmapi&id=RecordID
For Contacts:
https://crm.zoho.com/crm/private/xml/Contacts/downloadPhoto?authtoken=Auth Token&scope=crmapi&id=RecordID
JSON Format:
For Leads:
https://crm.zoho.com/crm/private/json/Leads/downloadPhoto?authtoken=Auth Token&scope=crmapi&id=RecordID
For Contacts:
https://crm.zoho.com/crm/private/json/Contacts/downloadPhoto?authtoken=Auth Token&scope=crmapi&id=RecordID
Parameter | Data Type | Description |
authtoken* | String | Encrypted alphanumeric string to authenticate your Zoho credentials. |
scope* | String | Specify the value as crmapi |
id* | String | Specify unique ID of the record |
* - Mandatory parameter
Note:
You will receive image file (PNG, JPG, GIF etc.,) as the response while executing this method. Programmatically download the image to your system and complete the other operations as per your API integration requirements.