# List tracked links

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/tracker/links:
    get:
      summary: List tracked links
      deprecated: false
      description: List shortened links for Loyalty Club, paginated by cursor
      tags:
        - API Reference/Management API/Core/Tracker
      parameters:
        - name: limit
          in: query
          description: Limit of records per page, default 50
          required: false
          schema:
            type: integer
            format: int32
            minimum: 1
            maximum: 100
            nullable: true
        - name: page_info
          in: query
          description: page information
          required: false
          schema:
            type: string
        - name: source_id
          in: query
          description: filters by source id
          required: false
          schema:
            type: integer
        - name: source_type
          in: query
          description: filters by source_type
          required: false
          schema:
            type: string
        - name: url
          in: query
          description: filters by url
          required: false
          schema:
            type: string
        - name: campaign_id
          in: query
          description: filters by campaign_id
          required: false
          schema:
            type: integer
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: X-Loyalty-Club-Slug
          in: header
          description: LoyaltyClub for API context. [Details](doc-342138)
          required: false
          example: '{{LOYALTY_CLUB_SLUG}}'
          schema:
            type: string
            default: '{{LOYALTY_CLUB_SLUG}}'
        - name: Authorization
          in: header
          description: '[Member](doc-342129) or [User](doc-342130) Authorization.'
          required: false
          example: Bearer {{_OAUTH_TOKEN}}
          schema:
            type: string
            default: Bearer {{_OAUTH_TOKEN}}
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
      responses:
        '200':
          description: List of links
          content:
            application/json:
              schema:
                type: object
                properties:
                  links:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          x-apidog-mock: '{{$number.int(min=1)}}'
                        source_id:
                          type: string
                          x-apidog-mock: '{{$string.numeric}}'
                        source_type:
                          type: string
                          enum:
                            - sms_sending
                            - email_sending
                            - api
                          x-apidog-enum:
                            - value: sms_sending
                              name: ''
                              description: ''
                            - value: email_sending
                              name: ''
                              description: ''
                            - value: api
                              name: ''
                              description: ''
                        campaign_id:
                          type: integer
                          x-apidog-mock: '{{$string.numeric}}'
                          minimum: 0
                        url:
                          type: string
                          x-apidog-mock: '{{$internet.url}}'
                        created_at:
                          type: string
                          x-apidog-mock: '{{$date.isoTimestamp}}'
                        updated_at:
                          type: string
                          x-apidog-mock: '{{$date.isoTimestamp}}'
                      x-apidog-orders:
                        - id
                        - source_id
                        - source_type
                        - campaign_id
                        - url
                        - created_at
                        - updated_at
                      required:
                        - id
                        - source_type
                        - url
                        - updated_at
                        - created_at
                      $ref: '#/components/schemas/Tracker%20link'
                  cursor_pagination_info:
                    properties:
                      next_page_info:
                        type: string
                        x-apidog-mock: '{{$string.alpha}}'
                        nullable: true
                      limit:
                        type: integer
                        minimum: 0
                        maximum: 100
                        x-apidog-mock: '{{$number.int(min=1)}}'
                    x-apidog-orders:
                      - next_page_info
                      - limit
                    required:
                      - next_page_info
                      - limit
                    $ref: '#/components/schemas/Cursor%20pagination%20info'
                x-apidog-orders:
                  - links
                  - cursor_pagination_info
                required:
                  - links
                x-apidog-ignore-properties: []
              example:
                links:
                  - id: 1034672840988590
                    source_id: '8'
                    source_type: email_sending
                    campaign_id: 0
                    url: https://grizzled-colon.org
                    created_at: '2024-10-09T10:22:39.515Z'
                    updated_at: '2024-10-09T10:22:39.515Z'
                  - id: 4166981097308346
                    source_id: '2'
                    source_type: email_sending
                    campaign_id: 2
                    url: https://fragrant-operating.com
                    created_at: '2024-10-09T10:22:39.516Z'
                    updated_at: '2024-10-09T10:22:39.517Z'
                cursor_pagination_info:
                  next_page_info: H
                  limit: 2
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: API Reference/Management API/Core/Tracker
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-3593279-run
components:
  schemas:
    Cursor pagination info:
      type: object
      properties:
        next_page_info:
          type: string
          x-apidog-mock: '{{$string.alpha}}'
          nullable: true
        limit:
          type: integer
          minimum: 0
          maximum: 100
          x-apidog-mock: '{{$number.int(min=1)}}'
      x-apidog-orders:
        - next_page_info
        - limit
      required:
        - next_page_info
        - limit
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Tracker link:
      type: object
      properties:
        id:
          type: integer
          x-apidog-mock: '{{$number.int(min=1)}}'
        source_id:
          type: string
          x-apidog-mock: '{{$string.numeric}}'
        source_type:
          type: string
          enum:
            - sms_sending
            - email_sending
            - api
          x-apidog-enum:
            - value: sms_sending
              name: ''
              description: ''
            - value: email_sending
              name: ''
              description: ''
            - value: api
              name: ''
              description: ''
        campaign_id:
          type: integer
          x-apidog-mock: '{{$string.numeric}}'
          minimum: 0
        url:
          type: string
          x-apidog-mock: '{{$internet.url}}'
        created_at:
          type: string
          x-apidog-mock: '{{$date.isoTimestamp}}'
        updated_at:
          type: string
          x-apidog-mock: '{{$date.isoTimestamp}}'
      x-apidog-orders:
        - id
        - source_id
        - source_type
        - campaign_id
        - url
        - created_at
        - updated_at
      required:
        - id
        - source_type
        - url
        - created_at
        - updated_at
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```