cURL
curl --request POST \ --url https://api.specular.dev/branches/{branchId}/storage/presign/download \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "key": "<string>" } '
{ "url": "<string>", "expiresAt": "2023-11-07T05:31:56Z" }
Bearer authentication with API key (format: Bearer sk_xxx)
File key/path
Presigned URL generated