Get public media

View as Markdown

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

filestringRequired

The media filename, <mediaId>.<ext> — exactly as given in a message’s media[].url. The extension is cosmetic; lookup is by ID.

Response

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

Errors

404
Not Found Error