WhatsAble
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.

Path Parameters

id*string

The media file id.

Length1 <= length <= 64

Query Parameters

org*string

The organization the file belongs to. Signed with the rest of the link.

Length1 <= length <= 64
exp*integer

When the link expires, in Unix seconds.

Range0 < value <= 9007199254740991
sig*string

The link's signature.

Length1 <= length <= 256

Response Body

The file.

response?fileapplication/octet-stream
Formatbinary
Example Request
curl -X GET 'https://api.whatsable.app/v1/media/string/content?org=string&exp=1&sig=string'
Example Response
"string"