Storage File Download URL

Generate a download URL for a storage file

Info

Required scope: storage.read

Warning

This method requires authentication

Generate a temporary download URL for a specific file in the user's video storage.

curl -X POST -H "Authorization: Bearer [access token]" \
     https://api.restream.io/v2/user/storage/files/{fileId}/download-url

Path Parameters:

ParameterTypeDescription
fileIdstringThe ID of the storage file (required)

Response

Success
Error (Invalid Token)
Error (Not Found)
{
  "downloadUrl": "https://example.com/storage-file-download"
}