---
title: "Get attachment thumbnail"
method: GET
path: "/rest/api/2/attachment/thumbnail/{id}"
tags: ["Issue attachments"]
---

# Get attachment thumbnail

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

Returns the thumbnail of an attachment.

To return the attachment contents, use [Get attachment content](#api-rest-api-2-attachment-content-id-get).

This operation can be accessed anonymously.

**[Permissions](#permissions) required:** For the issue containing the attachment:

 *  *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project that the issue is in.
 *  If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is configured, issue-level security permission to view the issue.
 *  If attachments are added in private comments, the comment-level restriction will be applied.

## Path parameters

- `id` string, required

## Query parameters

- `redirect` boolean
- `fallbackToDefault` boolean
- `width` integer
- `height` integer

## Response `200`

Returned if the request is successful when `redirect` is set to `false`.

## Other responses

- `303` — Returned if the request is successful. See the `Location` header for the download URL.
- `400` — Returned if the request is invalid.
- `401` — Returned if the authentication credentials are incorrect.
- `403` — The user does not have the necessary permission.
- `404` — Returned if: * the attachment is not found. * attachments are disabled in the Jira settings. * `fallbackToDefault` is `false` and the request thumbnail cannot be downloaded.

---

[API](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api.md) · [All operations](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-jira-cloud-platform-rest-api/versions/a26541c2f8bd/schema)
