---
description: Downloads a list of attachment ids as a zip file.
---

# downloadAttachments

### Parameters

1. downloadOptions - JSON object
   * requestedIds - list of ids to download
   * fileName - (optional) name of the downloaded file

### Example Usages

```javascript
   brixxApi.downloadAttachments({
      requestedIds:[196, 197, 200]
   });
```

```javascript
   brixxApi.downloadAttachments({
      requestedIds:[196, 197, 200],
      fileName: "myDownload.zip"
   });
```
