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

# List Tracking Links

Get a list of the Tracking Links.

<Card title="Try API Request" icon="rectangle-api" horizontal href="https://www.postman.com/airbridge-engineering/workspace/airbridge-api/request/22395869-9838b3eb-1eed-4a86-8aed-75a62e3165e5" />

```text GET theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
https://api.airbridge.io/v1/tracking-links
```

<h2 id="list-tracking-links-request">
  Request
</h2>

***

<h3 id="list-tracking-links-headers">
  Headers
</h3>

<ParamField header="Accept-Language" type="string">
  You can specify the language to use for API requests and responses. It follows the ISO-639-1 format.
</ParamField>

<ParamField header="Content-Type" type="string">
  Represents the media type of the resource. Defaults to `application/json`.
</ParamField>

<ParamField header="Authorization" type="string">
  The key value to use for API requests. Instructions for getting API keys are in "[how to generate API Keys](/en/references/introduction#authorization)".
</ParamField>

<h3 id="list-tracking-links-query-params">
  Query Params
</h3>

<ParamField query="from" type="string" required>
  The start date for tracking link list query.
</ParamField>

<ParamField query="to" type="string" required>
  The end date for tracking list query.
</ParamField>

<ParamField query="skip" type="number">
  The number of items to skip.
</ParamField>

<ParamField query="size" type="number">
  The number of items to retrieve.

  Note that up to 500 can be set.
</ParamField>

<ParamField query="keyword" type="string">
  The keyword to search for.
</ParamField>

<ParamField query="channel_name" type="string">
  Filter channel.
</ParamField>

<ParamField query="sort_key" type="enum">
  Sort standard. The default is `createdAt`

  | Value       | Description         |
  | ----------- | ------------------- |
  | `createdAt` | Sort by created at. |
</ParamField>

<ParamField query="sort_type" type="enum">
  Sort by. (Default: DESC)

  | Value  | Description |
  | ------ | ----------- |
  | `DESC` | Descending. |
  | `ASC`  | Ascending.  |
</ParamField>

<RequestExample>
  ```shellscript Request theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
  curl -X GET 'https://api.airbridge.io/v1/tracking-links?from=2023-04-01&to=2023-04-02&skip=0&size=10&sort_key=createdAt&sort_type=DESC' \
    -H 'Accept-Language: ko' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer {AIRBRIDGE-API-TOKEN}'
  ```
</RequestExample>

<h2 id="list-tracking-links-response">
  Response
</h2>

***

### 200

### 400

The field contains an error or is incorrectly formatted.

<ResponseExample>
  ```json 200 theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
  {
    "data": {
      "totalCount": 2,
      "trackingLinks": [
        {
          "id": 10001
        },
        {
          "id": 10002
        }
      ]
    }
  }
  ```

  ```json 400 theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
  {
    "instance": [
      {
        "loc": [
          "size"
        ],
        "msg": "must be less than or equal to 1000",
        "type": "validation_error"
      }
    ],
    "detail": "invalid_request",
    "status": 400,
    "title": "Bad Request",
    "traceId": "1-68513579-369f49243aa5430b228cfa8a",
    "type": "about:blank"
  }
  ```
</ResponseExample>
