---
title: "Get an attachment thumbnail URL"
method: GET
path: "/attachments/{id}/thumbnail"
tags: ["Attachments"]
---

# Get an attachment thumbnail URL

`GET /attachments/{id}/thumbnail`

Get an attachment thumbnail URL. URL returned via a 301 redirect.

## Response `200`

OK

- object
  - `url` string — The URL to the thumbnail is returned via a 301 redirect's Location header.

## Other responses

- `default` — Error

## Changes

- **2026-03-18** `e271d0e41f6d` — 1 warning, 6 info
  - deleted the `path` request parameter `id`
  - api operation id `get_attachments_id_thumbnail` removed and replaced with `getAttachmentsIdThumbnail`
  - the endpoint scheme security `XF-Api-Key` was added to the API
  - the endpoint scheme security `XF-OAuth2` was added to the API
  - …3 more
- **2026-02-03** `fc0a40f3b859` — 1 breaking, 4 warning, 4 info
  - added the new path request parameter `id`
  - the optional response header `XF-Latest-Api-Version` removed for the status `200`
  - the optional response header `XF-Request-User` removed for the status `200`
  - the optional response header `XF-Request-User-Extras` removed for the status `200`
  - …5 more

[Change history](https://skmtc.dev/xenforo-ltd/apis/xenforo-api/changes/attachments/:id/thumbnail/get.md)

---

[API](https://skmtc.dev/xenforo-ltd/apis/xenforo-api.md) · [All operations](https://skmtc.dev/xenforo-ltd/apis/xenforo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xenforo-ltd/xenforo-api/revisions/b15eba33657a/schema)
