GET
List estimate attachments
Scope:
sales:estimates.readhttps://api.holded.com/api/v2/estimates/{estimateId}/attachmentsReturns the list of files attached to an estimate. Each attachment includes its identifier, file name, and size. 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)
Request
python
import requests
url = "https://api.holded.com/api/v2/estimates/{estimateId}/attachments"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Response
json
{
"items": [
{}
],
"cursor": "string",
"has_more": false
}Success responses
200List of attachmentsapplication/jsonobject
items[]object[]
cursorstring | null
has_moreboolean
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Estimate not foundapplication/json429Rate limit exceededapplication/json