Shotstash
API referenceREST referenceMedia

Signed share media (headers only)

Same as GET without the body. A file or thumbnail or ZIP of a share link through an HMAC-signed URL minted by the share page (valid 5 minutes; ZIPs 24 hours). The token is checked again against the live share link. Range is supported for files.

Try the REST routes against the public demo at https://demostash.aldyernesto.my.id. Get a read-only token (valid for 60 minutes), then paste it as the Bearer token in the console of any route.

HEAD/media/s/{token}No try-it console: the demo answers cross-origin requests on /api only.

Same as GET without the body. A file or thumbnail or ZIP of a share link through an HMAC-signed URL minted by the share page (valid 5 minutes; ZIPs 24 hours). The token is checked again against the live share link. Range is supported for files.

Path Parameters

token*string

HMAC-signed token minted by the share page; it names the link and the target and expires.

Query Parameters

dl?"1"

1 serves the file as an attachment instead of inline.

Value in"1"

Response Body

The file or thumbnail or ZIP

curl -X HEAD "https://example.com/media/s/string"
Empty