**Source URL:** https://limited.veevavault.dev/quality/vault-api/api-reference/21.3/vault-objects/object-record-attachments/download-all-object-record-attachment-files.md

# Download All Object Record Attachment Files



<Endpoint path="/api/{version}/vobjects/{object_name}/{object_record_id}/attachments/file" method="GET"></Endpoint>

## Headers {#headers}

<FieldTable>
| Name | Description |
| --- | --- |
| `Accept` | `application/json` (default) or `application/xml` |
</FieldTable>

## URI Path Parameters {#uri-path-parameters}

<FieldTable>
| Name | Description |
| --- | --- |
| `{object_name}` | The object `name__v` field value (`product__v`, `country__v`, `custom_object__c`, etc.). |
| `{object_record_id}` | The object record `id` field value. |
</FieldTable>

## Request {#request}

<CodeExample title="">
```
curl -X GET -H "Authorization: {SESSION_ID}" \
https://myvault.veevavault.com/api/v15.0/vobjects/site__v/1357752909483/attachments/file

```
</CodeExample>

## Response {#response}

<CodeExample title="">
```
Content-Type: application/octet-stream;charset=UTF-8
Content-Disposition: attachment;filename="Product CholeCap - attachments.zip"

```
</CodeExample>

## Response Details {#response-details}

On SUCCESS, Vault retrieves the latest version of all attachments from the object record. The attachments are packaged in a ZIP file with the file name: `{object type label} {object record name} - attachments.zip`.

The HTTP Response Header `Content-Type` is set to `application/octet-stream`. The HTTP Response Header `Content-Disposition` contains a filename component which can be used when naming the local file. When downloading attachments with very small file size, the HTTP Response Header `Content-Length` is set to the size of the attachment. Note that for most attachment downloads (larger file sizes), the `Transfer-Encoding` method is set to `chunked` and the `Content-Length` is not displayed.



---

**Previous:** [Download Object Record Attachment Version File](/quality/vault-api/api-reference/21.3/vault-objects/object-record-attachments/download-object-record-attachment-version-file)  
**Next:** [Create Object Record Attachment](/quality/vault-api/api-reference/21.3/vault-objects/object-record-attachments/create-object-record-attachment)