---
title: "Get a media item file"
method: GET
path: "/media/{id}/data"
tags: ["Media"]
---

# Get a media item file

`GET /media/{id}/data`

Get a media item file.

## Response `200`

OK

## Other responses

- `default` — Error

## Changes

- **2026-03-18** `e271d0e41f6d` — 1 warning, 5 info
  - deleted the `path` request parameter `id`
  - api operation id `get_media_id_data` removed and replaced with `getMediaIdData`
  - the endpoint scheme security `XF-Api-Key` was added to the API
  - the endpoint scheme security `XF-OAuth2` was added to the API
  - …2 more
- **2026-03-06** `0f490cfb7931` — 2 info
  - api tag `Media` added
  - api tag `media` removed
- **2026-03-05** `6b68c4d49c45` — 1 info
  - endpoint added
- **2026-02-03** `fc0a40f3b859` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/xenforo-ltd/apis/xenforo-api/changes/media/:id/data/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)
