---
ai:
  exclude: true
search:
  tags:
    - attachment
    - GET
seo:
  description: >-
    Returns the meta-data for an attachment, including… Reference for the GET
    /api/2/attachment/{id} endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: >-
    Get the meta-data for an attachment, including the URI of the actual
    attached file
  badge: GET
title: >-
  Get the meta-data for an attachment, including the URI of the actual attached
  file
type: openapi-operation
---
Returns the meta-data for an attachment, including the URI of the actual attached file.

`GET /api/2/attachment/{id}`

**Responses**

- `200` — JSON representation of the attachment meta-data. The representation does not contain the attachment itself, but contains a URI that can be used to download the actual attached file.
- `403` — The calling user is not permitted to view the requested attachment.
- `404` — Any of: there is no attachment with the requested id, attachments feature is disabled

Response example, 200:

```json
{}
```
