Blueticks
Messages

Get message media URL

Returns a hosted URL for the message media without inlining bytes.

Faster + cheaper than media when the caller can fetch the URL themselves. Same media_unavailable semantics. Requires chats:read.

Request

curl -X GET "https://api.blueticks.co/v1/messages/media_url/string"
GET
/v1/messages/media_url/{waMessageKey}

Path Parameters

waMessageKey*string

The complete WhatsApp message key (<fromMe>_<chatJid>_<id>[_<participant>]), e.g. false_120363426216988013@g.us_3EB0659D13650092D677AD_188450464616609@lid.

Query Parameters

chatId?string

Optional. Only used to find the message faster — when you pass a bare message id instead of the complete key, chatId lets the server rebuild the full key. If you pass the complete waMessageKey you can omit it.

Response

Response Body

application/json

application/json