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

# List links

> List a document's links, newest first, with what each plays, its URLs and whether it was revoked.

MCP tool: [`list_links`](/mcp/tools/links#list_links).



## OpenAPI

````yaml /api/openapi.json get /v1/documents/{document_id}/links
openapi: 3.1.0
info:
  title: Rendermate API
  version: v1
servers:
  - url: https://api.rendermate.com
security:
  - api_key: []
tags:
  - name: Account
  - name: Workspaces
  - name: Projects
  - name: Documents
  - name: Links
  - name: Exports
  - name: Assets
  - name: Generations
  - name: Persons
  - name: Help
paths:
  /v1/documents/{document_id}/links:
    get:
      tags:
        - Links
      summary: List links
      description: >-
        List a document's links, newest first, with what each plays, its URLs
        and whether it was revoked.


        MCP tool: [`list_links`](/mcp/tools/links#list_links).
      operationId: list_links
      parameters:
        - description: The cursor the previous page ended with.
          in: query
          name: after
          required: false
          schema:
            description: The cursor the previous page ended with.
            type:
              - string
              - 'null'
        - in: path
          name: document_id
          required: true
          schema:
            type: string
        - description: How many to return.
          in: query
          name: limit
          required: false
          schema:
            description: How many to return.
            format: uint32
            minimum: 0
            type:
              - integer
              - 'null'
      responses:
        '200':
          content:
            application/json:
              example:
                links:
                  - alias: latest
                    autoplay: false
                    controls: true
                    created_at: '2026-12-03T10:15:00Z'
                    created_by: api_key_01JF3Q1C5E7G9J2M4N6Q8S0T2W
                    document_id: doc_01JF3QZ8X6N2V7K4M9P5R1T3WY
                    embed_url: >-
                      https://rendermate.com/link/lnk_01JF3R0B4D6F8H1K3M5P7R9T2V/embed
                    id: lnk_01JF3R0B4D6F8H1K3M5P7R9T2V
                    name: Client review
                    password_protected: false
                    project_id: prj_01JF3Q4A8C2E6G0J3K5N7Q9S1V
                    url: https://rendermate.com/link/lnk_01JF3R0B4D6F8H1K3M5P7R9T2V
              schema:
                properties:
                  links:
                    description: Newest first, revoked ones too.
                    items:
                      $ref: '#/components/schemas/LinkView'
                    type: array
                  next:
                    description: '`after` for the next page; absent on the last.'
                    type:
                      - string
                      - 'null'
                required:
                  - links
                type: object
          description: OK
        '401':
          content:
            application/json:
              examples:
                unauthorized:
                  summary: unauthorized
                  value:
                    error:
                      code: unauthorized
                      doc_url: https://rendermate.com/docs/errors#unauthorized
                      message: 'provide a valid API key: Authorization: Bearer sk_…'
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `unauthorized`: provide a valid API key: Authorization: Bearer
            sk_…
        '403':
          content:
            application/json:
              examples:
                key_without_workspace:
                  summary: key_without_workspace
                  value:
                    error:
                      code: key_without_workspace
                      doc_url: https://rendermate.com/docs/errors#key_without_workspace
                      message: >-
                        this API key has no workspace: create a key in the
                        dashboard, under api keys in the workspace it should act
                        in
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `key_without_workspace`: this API key has no workspace: create a
            key in the dashboard, under api keys in the workspace it should act
            in
        '404':
          content:
            application/json:
              examples:
                document.not_found:
                  summary: document.not_found
                  value:
                    error:
                      code: document.not_found
                      doc_url: https://rendermate.com/docs/errors#document.not_found
                      message: no such document
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `document.not_found`: no such document'
        '500':
          content:
            application/json:
              examples:
                internal:
                  summary: internal
                  value:
                    error:
                      code: internal
                      doc_url: https://rendermate.com/docs/errors#internal
                      message: internal error
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `internal`: internal error'
components:
  schemas:
    LinkView:
      description: A link as the api shows it.
      oneOf:
        - properties:
            version:
              description: A version, by number.
              format: uint64
              minimum: 0
              type: integer
          required:
            - version
          type: object
        - properties:
            alias:
              description: >-
                An alias, such as `latest`; `latest` when neither this nor
                `version` is given.
              type: string
          required:
            - alias
          type: object
      properties:
        autoplay:
          description: Whether the video starts playing when the page opens.
          type: boolean
        controls:
          description: Whether the player shows its controls.
          type: boolean
        created_at:
          description: RFC 3339.
          type: string
        created_by:
          description: The API key or member that created it.
          type: string
        document_id:
          description: The document it plays.
          type: string
        embed_url:
          description: The page to put in an iframe.
          type: string
        expires_at:
          description: RFC 3339.
          type:
            - string
            - 'null'
        id:
          description: '`lnk_…`.'
          type: string
        name:
          description: A name people recognize it by; absent when it has none.
          type:
            - string
            - 'null'
        password_protected:
          description: >-
            Whether viewers need a password to watch it. The password itself is
            never shown.
          type: boolean
        project_id:
          description: The document's project.
          type: string
        revoked_at:
          description: RFC 3339.
          type:
            - string
            - 'null'
        url:
          description: The view page.
          type: string
      required:
        - id
        - document_id
        - project_id
        - autoplay
        - controls
        - password_protected
        - url
        - embed_url
        - created_by
        - created_at
      type: object
    Error:
      properties:
        error:
          properties:
            code:
              description: Stable, such as `asset.name_taken` or `not_available`.
              type: string
            doc_url:
              description: The code's entry on the Errors page.
              type: string
            message:
              description: What went wrong and what to do next.
              type: string
            request_id:
              description: >-
                The request's ID, also in its `x-request-id` header. Quote it
                when you contact support.
              type: string
          required:
            - code
            - message
            - doc_url
            - request_id
          type: object
      required:
        - error
      type: object
  securitySchemes:
    api_key:
      description: >-
        An API key from the dashboard, such as `sk_live_…`. It acts in its
        workspace.
      scheme: bearer
      type: http

````

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