---
title: "List External Links"
method: GET
path: "/files/{file_id}/external_links"
tags: ["Files"]
---

# List External Links

`GET /files/{file_id}/external_links`

List the previously created `External Link` resources for a `File`.

## Query parameters

- `after_cursor` string
- `before_cursor` string
- `created_at.gte` string, date-time
- `created_at.lte` string, date-time
- `id` string
- `limit` integer
- `updated_at.gte` string, date-time
- `updated_at.lte` string, date-time

## Headers

- `Finix-Version` string

## Response `200`

List of `External Link` resources

- object
  - `page` Page — Details the page that's returned.
    - `limit` integer — The number of entries to return.
    - `next_cursor` string, nullable — The cursor to use for the next page of results.
  - `_embedded` object
    - `external_links` ExternalLink[]
      - `id` string — The ID of the `External Link` resource.
      - `created_at` string, date-time — Timestamp of when the object was created.
      - `duration` integer, nullable — Details how long (in minutes) the `url` is valid for.
      - `expired` boolean — Whether the external link has expired.
      - `expires_at` string, date-time — When the external link expires.
      - `file_id` string — The `File` ID the `External Link` relates to.
      - `tags` Tags, nullable — Include up to 50 `key: value` pairs to annotate requests with custom metadata. - Maximum character length for individual `keys` is 40. - Maximum character length for individual `values` is 500. (For example, `order_number: 25`, `item_type: produce`, `department: sales`)
      - `type` 'UPLOAD' | 'DOWNLOAD' | 'VIEW' — Sets whether the link uploads or downloads files from Finix.
      - `url` string — The URL that can be used to upload, download, or view the `File`.
      - `user_id` string — The ID of the `user` that requested to create this link.
  - `_links` object
    - `self` Self — Link to the resource that was used in the request.
      - `href` string
    - `next` Next — Link to the next page of entries.
      - `href` string

## Other responses

- `401` — Unauthorized. Authentication is required and has failed or has not been provided.
- `403` — Forbidden. The client is authenticated but does not have permission to access the resource.
- `406` — Not Acceptable. The server could not accept the submitted request. Confirm how the request was formatted and submitted.
- `422` — Unprocessable Entity. The syntax of the request content was correct, but the server was unable to process the contained instructions.

---

[API](https://skmtc.net/finix/apis/finix-api-reference.md) · [All operations](https://skmtc.net/finix/apis/finix-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/finix/finix-api-reference/versions/5426f6f99c52/schema)
