GET
Get estimate attachment
Scope:
sales:estimates.readhttps://api.holded.com/api/v2/estimates/{estimateId}/attachments/{attachmentId}Downloads a specific attachment from an estimate. The response contains the raw binary content of the file. A signed-in user with limited access to estimates only reaches the estimates assigned to them or created by them; any other is reported as not found. API keys still need the scope of this endpoint.
Parameters
Path parameters
estimateId
stringrequiredEstimate ID (24-char hex ObjectId)
attachmentId
stringrequiredAttachment identifier (filename)
Request
python
import requests
url = "https://api.holded.com/api/v2/estimates/{estimateId}/attachments/{attachmentId}"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Response
json
"string"Success responses
200Attachment binary contentapplication/octet-streamstring<binary>
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Estimate or attachment not foundapplication/json429Rate limit exceededapplication/json