---
title: "Download All Consent Attachments"
method: GET
path: "/rest/api/preferences/v1/datasubjects/{identifier}/attachments"
tags: ["Consent Attachments"]
---

# Download All Consent Attachments

`GET /rest/api/preferences/v1/datasubjects/{identifier}/attachments`

Use this API to retrieve all available file references attached to a given data subject. The files will be downloaded in .zip format.

## Path parameters

- `identifier` string, required

## Response `200`

ZIP file containing all attachments.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.dev/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/revisions/21de3aa0b170/schema)
