> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Recording Link

> Generate an access link for a recording



## OpenAPI

````yaml GET /recordings/{recording_id}/access-link
openapi: 3.0.3
info:
  title: Daily API
  description: |-
    The Daily REST API offers the ability to manage the following: 
    - Overall Domain Configuration
    - Individual Room creation and config management 
    - Meeting token creation and validation
    - Recording and compositing management 
    - Meeting analytics
    - Logs and metrics
    - Real-time presence

    Please reach out to help@daily.co if we can help with anything
  version: 1.1.1
  contact:
    name: Daily
    url: https://docs.daily.co
    email: help@daily.co
servers:
  - url: https://api.daily.co/v1
security:
  - bearerAuth: []
paths:
  /recordings/{recording_id}/access-link:
    get:
      tags:
        - recordings
      summary: recordings/:id/access-link
      description: Generate an access link for a recording
      operationId: GetRecordingLink
      parameters:
        - name: recording_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            type: string
        - name: valid_for_secs
          in: query
          description: >-
            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. 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](/docs/guides/features/recording/custom-s3-storage#download-link-lifetime).
          required: false
          style: form
          explode: true
          schema:
            type: integer
            format: int32
            minimum: 900
            maximum: 43200
            default: 3600
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  download_link:
                    type: string
                    example: >-
                      https://daily-meeting-recordings.s3.us-west-2.amazonaws.com/api-demo/hello/1548790973821?AWSAccessKeyId=AKIAJVYA3B2F4672K3RQ&Expires=1548809176&Signature=xfSPW1kXksNriqmlm%2FT9hb%2Fq%2Bas%3D&response-content-disposition=attachment%3B%20filename%3D%22api-demo%2Fhello%2F1548790973821.webm%22
                  expires:
                    type: integer
                    example: 1548809176
                    default: 0
                  storage_provider:
                    type: string
                    enum:
                      - aws
                      - oci
                    description: >-
                      The storage provider the recording was written to. `aws`
                      for Amazon S3 (including Daily's own storage), `oci` for
                      OCI Object Storage.
                    example: aws
              examples:
                Result:
                  value:
                    download_link: >-
                      https://daily-meeting-recordings.s3.us-west-2.amazonaws.com/api-demo/hello/1548790973821?AWSAccessKeyId=AKIAJVYA3B2F4672K3RQ&Expires=1548809176&Signature=xfSPW1kXksNriqmlm%2FT9hb%2Fq%2Bas%3D&response-content-disposition=attachment%3B%20filename%3D%22api-demo%2Fhello%2F1548790973821.webm%22
                    expires: 1548809176
                    storage_provider: aws
        '400':
          $ref: '#/components/responses/400'
      deprecated: false
      security:
        - bearerAuth: []
components:
  responses:
    '400':
      description: '400'
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              info:
                type: string
          examples:
            Result:
              value:
                error: invalid-request-error
                info: missing required field
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.