# List Base External Links

List all the external links and view external links of a base. For this request, you'll need the base's `base_id`, which is to be distinguished from the base's `base_uuid`. You can retrieve a base's `base_id` with the API request e.g. [List User's Bases](/reference/listusersbases).

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Account Operations: System admin",
    "description": "The official SeaTable API Reference (OpenAPI 3.0).",
    "version": "6.2"
  },
  "servers": [
    {
      "url": "https://{server}",
      "variables": {
        "server": {
          "default": "cloud.seatable.io"
        }
      }
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "metrics-enabled": false,
    "proxy-enabled": false
  },
  "tags": [
    {
      "name": "Sharing Links",
      "description": "Manage sharing links"
    }
  ],
  "components": {
    "securitySchemes": {
      "AccountTokenAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "This is the [Account-Token](/reference/authentication)."
      }
    },
    "parameters": {
      "base_id": {
        "name": "base_id",
        "description": "The id of the base. This is not the base_uuid.",
        "in": "path",
        "schema": {
          "type": "string"
        },
        "required": true,
        "example": 123
      }
    }
  },
  "paths": {
    "/api/v2.1/admin/dtable/{base_id}/external-links/": {
      "get": {
        "tags": [
          "Sharing Links"
        ],
        "summary": "List Base External Links",
        "operationId": "listBaseExternalLinks",
        "description": "List all the external links and view external links of a base. For this request, you'll need the base's `base_id`, which is to be distinguished from the base's `base_uuid`. You can retrieve a base's `base_id` with the API request e.g. [List User's Bases](/reference/listusersbases).",
        "security": [
          {
            "AccountTokenAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/base_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "dtable_external_link_list": {
                    "base_external_links": [
                      {
                        "id": 72,
                        "from_dtable": "Example",
                        "creator": "12abc456def789abc123def456abc789@auth.local",
                        "creator_name": "Jasmin Tee",
                        "token": "fleischkaesebroetchen",
                        "permission": "r",
                        "create_at": "2021-05-18T14:28:12+00:00",
                        "view_cnt": 0,
                        "url": "https://cloud.seatable.io/dtable/external-links/custom/fleischkaesebroetchen/"
                      },
                      {
                        "id": 73,
                        "from_dtable": "Example",
                        "creator": "12abc456def789abc123def456abc789@auth.local",
                        "creator_name": "Jasmin Tee",
                        "token": "42a42b34f97745948765",
                        "permission": "r",
                        "create_at": "2021-05-27T11:16:54+00:00",
                        "view_cnt": 0,
                        "url": "https://cloud.seatable.io/dtable/external-links/42a42b34f97745948765/"
                      }
                    ],
                    "view_external_links": [
                      {
                        "id": 12,
                        "from_dtable": "Example",
                        "creator": "12abc456def789abc123def456abc789@auth.local",
                        "creator_name": "Jasmin Tee",
                        "token": "922008ae1f1742f788f8",
                        "permission": "r",
                        "create_at": "2021-05-18T14:21:57+00:00",
                        "view_cnt": 0,
                        "table_id": "0000",
                        "view_id": "Jz4d",
                        "url": "https://cloud.seatable.io/dtable/view-external-links/922008ae1f1742f788f8/",
                        "is_custom": false,
                        "expire_date": ""
                      },
                      {
                        "id": 13,
                        "from_dtable": "Example",
                        "creator": "12abc456def789abc123def456abc789@auth.local",
                        "creator_name": "Jasmin Tee",
                        "token": "35967f61163848b29c44",
                        "permission": "r",
                        "create_at": "2021-05-18T14:22:52+00:00",
                        "view_cnt": 0,
                        "table_id": "0000",
                        "view_id": "NdFD",
                        "url": "https://cloud.seatable.io/dtable/view-external-links/35967f61163848b29c44/",
                        "is_custom": false,
                        "expire_date": ""
                      }
                    ]
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "_id": {
    "buffer": {
      "0": 105,
      "1": 212,
      "2": 220,
      "3": 12,
      "4": 20,
      "5": 34,
      "6": 131,
      "7": 31,
      "8": 141,
      "9": 111,
      "10": 187,
      "11": 146
    }
  }
}
```