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.

curl --location --request GET '<asset_id>/presigned-url' \ --header 'Authorization: Bearer <management_token>'
Status: 200 OK
{ "id": "<asset-id>", "path": "<path-of-asset>", "url": "<presigned-url>", "expiry": 3600 // in seconds }

Query params

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?