Skip to main content
GET

Get proforma attachment

Scope:sales:proforms.read
https://api.holded.com/api/v2/proformas/{proformaId}/attachments/{attachmentId}

Downloads a specific attachment from a proforma. The response contains the raw binary content of the file.

Parameters

Path parameters

proformaIdstringrequired

Proforma ID (24-char hex ObjectId)

attachmentIdstringrequired

Attachment identifier (filename)

Request

python
import requests

url = "https://api.holded.com/api/v2/proformas/{proformaId}/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-stream
string<binary>

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Proforma or attachment not foundapplication/json
429Rate limit exceededapplication/json