Skip to main content

Download the media attached to a message

GET 

/api/v1/waba/messages/:id/media

An inbound media message carries a Meta media id, not the file, and the URL it resolves to is short lived and needs the account token. This resolves and downloads it server side and streams the bytes back, so an inbox can point an image tag straight at it. Responds with the file, not JSON. Do it promptly: Meta expires media ids after 30 days.

Request​

Responses​

The media bytes, under their own content type