API v1Messages
Download a message's media file
gethttps://api.whatsable.app/v1/media/{id}/content
Build a request to copy
This page never sends a request. Fill in the fields, then copy the request and run it from your server.
Request
curl -X GET 'https://api.whatsable.app/v1/media/string/content?org=string&exp=1&sig=string'
Downloads the file of a message, from the link in its media.url. The link needs no API key, because its signature is the credential. It expires after 15 minutes. An expired, changed or broken link gets the same 404 as a deleted file.
id*stringThe media file id.
Length
1 <= length <= 64org*stringThe organization the file belongs to. Signed with the rest of the link.
Length
1 <= length <= 64exp*integerWhen the link expires, in Unix seconds.
Range
0 < value <= 9007199254740991sig*stringThe link's signature.
Length
1 <= length <= 256The file.
response?fileapplication/octet-streamFormat
binarycurl -X GET 'https://api.whatsable.app/v1/media/string/content?org=string&exp=1&sig=string'Example Response
"string"