---
title: "Get public media"
method: GET
path: "/public-media/{file}"
tags: ["messages"]
---

# Get public media

`GET /public-media/{file}`

Serves a message media attachment. No authentication required — the unguessable media ID in the path is the access token, mirroring how carriers serve MMS media. Usually responds with a `302` redirect to short-lived object storage; while a just-received attachment is still being mirrored, the body is streamed directly instead. URLs are stable and do not expire.

## Path parameters

- `file` string, required

## Response `200`

Media bytes, streamed (only while mirroring is in flight).

- MessagesGetPublicMediaResponse200 — Empty response body

## Other responses

- `404` — The requested resource was not found on this account.

---

[API](https://skmtc.net/getdial/apis/rest-api.md) · [All operations](https://skmtc.net/getdial/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getdial/rest-api/versions/cfa621230237/schema)
