Get pre-signed URL

Use this API to generate a short-lived pre-signed URL for a recording asset.

By default, the generated URL has an expiry of 3 days for AWS S3 and GCS buckets and 9 hours for Alibaba OSS storage. You can pass a ?presign_duration=number query param to control the validity of the URL.

GEThttps://api.100ms.live/v2/recording-assets/<asset_id>/presigned-url
curl --location --request GET 'https://api.100ms.live/v2/recording-assets/<asset_id>/presigned-url' \ --header 'Authorization: Bearer <management_token>'
RESPONSE
Status: 200 OK
{ "id": "<asset-id>", "path": "<path-of-asset>", "url": "<presigned-url>", "expiry": 3600 // in seconds }

Query params

NameDescriptionRequired
presign_durationSpecify a custom expiry duration (in seconds) to control the validity of the generated URLNo

Have a suggestion? Recommend changes ->

Run in postman

Was this helpful?

1234