downloadFile Method

downloadFile Method

 Purpose

You can use this method to download files from CRM to your system.

 Request URL

XML Format:
https://crm.zoho.com/crm/private/xml/Leads/downloadFile?authtoken=Auth Token&scope=crmapi&id=Attachment Id

JSON Format:
https://crm.zoho.com/crm/private/json/Leads/downloadFile?authtoken=Auth Token&scope=crmapi&id=Attachment Id

 Request Parameters

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 attachment

* - Mandatory parameter

Important Note:

  • Your program can request up to 60 downloadFile calls per min. If API User requests more than 60 calls/min, system will block the API access for 5 min.
  • You can download files only from the Attachments section of the Record Details Page.
    • Related Articles

    • downloadFile Method - Comparison

      Purpose To download a file attached to a record. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/Leads/downloadFile?authtoken=AuthToken&scope=crmapi&id=Attachment Id Version 2.0: URL: ...
    • deleteRecords Method

      Table of Contents Purpose Request URL Request Parameters Example Purpose You can use this method to delete the selected record (you must specify unique ID of the record) and move to the recycle bin. Note: This method is availablefor all modules. ...
    • downloadPhoto Method

       Purpose You can use this method to download the photos of Leads or Contacts.  Request URL XML Format: For Leads: https://crm.zoho.com/crm/private/xml/Leads/downloadPhoto?authtoken=Auth Token&scope=crmapi&id=RecordID For Contacts: ...
    • searchRecords Method

       Purpose You can use the searchRecords method to get the list of records that meet your search criteria.  Request URL XML Format: https://crm.zoho.com/crm/private/xml/Leads/searchRecords?authtoken=Auth Token&scope=crmapi&criteria=(((Last ...
    • deleteFile Method

      Purpose You can use this method to delete files attached to records. Request URL XML Format: https://crm.zoho.com/crm/private/xml/Leads/deleteFile?authtoken=Auth Token&scope=crmapi&id=Attachment Id JSON Format: ...