# Download attachments by ID using query parameters

Endpoint: GET /AttachmentDownload
Version: 1.0
Security: basicAuth

## Query parameters:

  - `UniqueIds` (array, required)

## Response 200 fields (application/json):

  - `results` (array)

  - `results.uniqueId` (string)
    Unique identifier of the attachment.

  - `results.creationDate` (string)
    Date and time the attachment was created.

  - `results.evidenceUniqueId` (string)
    Identifier of the evidence the attachment belongs to.

  - `results.partyId` (string,null)
    Identifier of the related party, when applicable.

  - `results.contentId` (string)
    Content identifier of the attachment.

  - `results.displayName` (string)
    Display name of the attachment.

  - `results.filename` (string)
    File name of the attachment.

  - `results.mimeType` (string)
    MIME type of the attachment content.

  - `results.contentDescription` (string)
    Content description.

  - `results.contentDisposition` (string)
    Content disposition.

  - `results.contentLocation` (string)
    Content location.

  - `results.contentEncoding` (string)
    Content encoding.

  - `results.contentLength` (integer)
    Length of the attachment content in bytes.

  - `results.hash` (string)
    Hash of the content (algorithm and value).

  - `results.data` (string)
    Attachment content, Base64-encoded.

  - `results.attributes` (array)
    Optional key-value attributes; omitted when empty.

  - `results.attributes.key` (string)

  - `results.attributes.value` (string)

  - `results.attributes.values` (array)

  - `totalMatches` (integer)
    Total number of attachments matching the requested IDs.

  - `responseStatus` (object)
    Error details when automatic exception handling returns one.


