---
title: "Download a media file by ID. Returns raw binary with appropriate headers."
method: GET
path: "/media/{mediaId}/content"
tags: ["Media"]
---

# Download a media file by ID. Returns raw binary with appropriate headers.

`GET /media/{mediaId}/content`

## Request

- Base URL: `https://www.taskade.com/api/v2`
- URL: `https://www.taskade.com/api/v2/media/{mediaId}/content`
- Auth: OAuth 2 and HTTP bearer
  - Authorization code: `https://www.taskade.com/oauth2/authorize`
  - Token URL: `https://www.taskade.com/oauth2/token`

## Path parameters

- `mediaId` string, required

## Response `200`

Default Response

---

[API](https://skmtc.dev/taskade/apis/taskade-public-api-v2.md) - [All operations](https://skmtc.dev/taskade/apis/taskade-public-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/taskade/apis/taskade-public-api-v2/revisions/45f0e74ec083?raw)
