download media from message

Downloads the media content from a message and returns a temporary download URL valid for 15 minutes. Use this instead of get-message-by-id with includeMedia when you only need the media file. A success without a file names the reason in data.reason (and data.detail), e.g. message_not_found or no_media_data.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

Instance ID

Body Params
string
required

Serialized message ID in format:

Response

data.status reports whether the action was carried out; on error data carries message and explanation. Payload: Media download URL generated.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json