Recording Download URL

Generate a download URL for a recording file

Info

Required scope: storage.read

Warning

This method requires authentication

Generate a temporary download URL for a specific recording file. Use the fileName from the event recordings endpoint to request a download URL.

curl -X POST \
     -H "Authorization: Bearer [access token]" \
     -H "Content-Type: application/json" \
     -d '{"fileName": "video-2026-02-26-22-01-19.mp4"}' \
     https://api.restream.io/v2/user/events/{eventId}/recordings/download-url

Path Parameters:

ParameterTypeDescription
eventIdstring (UUID)The UUID of the event (required)

Request Body

ParameterTypeDescription
fileNamestringThe file name from the event recordings response (required)
{
  "fileName": "video-2026-02-26-22-01-19.mp4"
}

Response

Success
Error (invalid token)
Error (file not found)
{
  "downloadUrl": "https://example.com/recording-download"
}