recordings/:id/access-link
Changed onGenerate an access link for a recording. The download_link is a short-lived signed URL: see the access links guide for more information.
Request
- Base URLhttps://api.daily.co/v1
- AuthHTTP bearer
Path parameters
Query parameters
How long the returned download_link remains valid, in seconds. Accepts 900 (15 minutes) through 43200 (12 hours). A value outside that range returns a 400.
Read the response's expires field rather than adding valid_for_secs to the current time. expires is the Unix timestamp at which the link stops working, and it is authoritative when Daily grants a shorter lifetime than the one requested.
Recordings stored in your own Amazon S3 bucket have a maximum link lifetime of 3600 seconds. A larger valid_for_secs still returns a 200, with expires set one hour out and validity_capped set to true. Request a new link when you need the file again. Recordings in Daily storage and in customer-owned OCI Object Storage buckets are not affected. See Custom S3 storage.
Response
200
Example response
{
"download_link": "https://b.daily.co/recordings/api-demo/hello/1548790973821?dl=api-demo%2Fhello%2F1548790973821.webm&Expires=1548809176&Signature=Gt5RhZ0kXksNriqmlm~T9hbq-asExampleSignature_&Key-Pair-Id=K1EXAMPLEKEYPAIR",
"expires": 1548809176,
"storage_provider": "aws",
"validity_capped": true
}Changes
- info
added the optional property
to the response with the status
- info
- info
added the new optional
queryrequest parametervalid_for_secs
- info