Download an Attachment
Purpose
To download a file attached to a record.
Request URL
https://recruit.zoho.com/recruit/v2/{module_api_name}/{record_id}/Attachments/{attachment_id}
module_api_name - The API name of the module
record_id - The unique ID of the record
attachment_id - The unique ID of the attachment
Modules supported in Get List of Attachments are supported here.
Request Method
GET
Scope
scope=ZohoRecruit.modules.all
(or)
scope=ZohoRecruit.modules.{module_name}.{operation_type}
(or)
scope=ZohoRecruit.modules.attachments.all
Possible module names | Possible operation types |
---|---|
candidate, application, jobopening, interview, client, contact, department, task, event, vendor, campaign, and custommodule | ALL - Full access to attachments READ - Get attachment data |
Sample Request
Copiedcurl "https://recruit.zoho.com/recruit/v2/Candidates/100023009/Attachments/100013547"
-X GET
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
The required file will be downloaded.