---
title: "Get Media File"
method: GET
path: "/media/{mediaid}"
tags: ["WhatsApp Media"]
---

# Get Media File

`GET /media/{mediaid}`

## Request

- Base URL: `https://waapi.pepipost.com/api/v2`
- URL: `https://waapi.pepipost.com/api/v2/media/{mediaid}`
- Auth: HTTP bearer

Retrieve a media file from Netcore CPaaS dashboard using its media ID. This endpoint returns the actual binary data of the media file.

**Usage:**
- Download media files that were previously uploaded
- Retrieve media for processing or display
- Access media files using their unique media IDs

**Response:**
- **Success**: Returns binary data of the requested media file
- **Failure**: Returns JSON error message if media not found

## Response `200`

Media file retrieved successfully

## Other responses

- `404`: Media file not found
- `4XX` (unresolved $ref)

---

[API](https://skmtc.dev/netcorecloud/apis/whatsapp-api.md) - [All operations](https://skmtc.dev/netcorecloud/apis/whatsapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/netcorecloud/apis/whatsapp-api/revisions/82cdf689fb7a?raw)
