---
title: "Get attachment details"
method: GET
path: "/v3/attachments/{attachmentId}"
tags: ["attachments"]
---

# Get attachment details

`GET /v3/attachments/{attachmentId}`

## Request

- Base URL: `https://gateway.stage.bill.com/connect`
- URL: `https://gateway.stage.bill.com/connect/v3/attachments/{attachmentId}`
- Auth: none declared

Get details about an attachment.

From the response, use `downloadLink` in a GET request to download the attachment.

```
curl '{downloadLink}' --header 'sessionId: {session_id}' --output {attachment_name}
```

## Path parameters

- `attachmentId` string, required: BILL-generated ID of the attachment. The value begins with `att`.

## Headers

- `sessionId` string, nullable: API session ID generated with `/v3/login`
- `devKey` string, nullable: Developer key generated with your BILL developer account

## Response `200`

Get attachment details response

- AttachmentResponseDto: Attachments response.
  - `id` string: BILL-generated ID of the attachment. The value begins with `att`.
  - `name` string: Attachment name
  - `createdTime` string, date-time: Created date and time
  - `downloadLink` string: URL for downloading the attachment. Use the URL in a GET request to download the attachment.

## Other responses

- `4XX`: List of errors.
- `5XX`: List of errors.

## Changes

- **2026-11-03** `54edddceb0a5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bill/apis/bill-v3-api/changes/v3/attachments/:attachmentId/get.md)

---

[API](https://skmtc.dev/bill/apis/bill-v3-api.md) - [All operations](https://skmtc.dev/bill/apis/bill-v3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bill/apis/bill-v3-api/revisions/54edddceb0a5?raw)
