GET
Get estimate PDF
Scope:
sales:estimates.readhttps://api.holded.com/api/v2/estimates/{estimateId}/pdfDownloads the estimate as a PDF file. The response Content-Type is `application/pdf`. The PDF is generated using the template configured in your account settings and reflects the current state of the estimate. 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}/pdf"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Response
json
"string"Success responses
200PDF binary contentapplication/pdfstring<binary>
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Estimate not foundapplication/json429Rate limit exceededapplication/json