v4
OpenAPI 3.1.02026-08-0255174167.5 KBmessages
Get public media
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.
get/public-media/{file}
Path parameters
filestring required
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).
MessagesGetPublicMediaResponse200 required
Empty response body