---
title: "Get Tracking Settings"
description: "How to call Get Tracking Settings (GET /api/tracking-settings) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/reference/get_tracking_settings"
revision: "2026-10-15"
operationId: "get_tracking_settings"
method: "GET"
endpoint: "https://a.klaviyo.com/api/tracking-settings"
authentication: "privateKey"
scopes: ["tracking-settings:read"]
rateLimits: {"burst":"10/s","steady":"150/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/get_tracking_settings.json"
jsonApi: {"fields":{"tracking-setting":["auto_add_parameters","custom_parameters","id","utm_campaign","utm_campaign.campaign","utm_campaign.campaign.type","utm_campaign.campaign.value","utm_campaign.flow","utm_campaign.flow.type","utm_campaign.flow.value","utm_id","utm_id.campaign","utm_id.campaign.type","utm_id.campaign.value","utm_id.flow","utm_id.flow.type","utm_id.flow.value","utm_medium","utm_medium.campaign","utm_medium.campaign.type","utm_medium.campaign.value","utm_medium.flow","utm_medium.flow.type","utm_medium.flow.value","utm_source","utm_source.campaign","utm_source.campaign.type","utm_source.campaign.value","utm_source.flow","utm_source.flow.type","utm_source.flow.value","utm_term","utm_term.campaign","utm_term.campaign.type","utm_term.campaign.value","utm_term.flow","utm_term.flow.type","utm_term.flow.value"]},"pagination":{"style":"cursor","defaultPageSize":"1"}}
related: ["https://developers.klaviyo.com/en/reference/tracking-settings/llms.txt","https://developers.klaviyo.com/en/reference/get_tracking_setting.md","https://developers.klaviyo.com/en/reference/update_tracking_setting.md"]
---

# Get Tracking Settings

> This is the Markdown version of https://developers.klaviyo.com/en/reference/get_tracking_settings

```http
GET https://a.klaviyo.com/api/tracking-settings
```

Get all UTM tracking settings in an account. Returns an array with a single tracking setting.

More information about UTM tracking settings can be found [here](https://help.klaviyo.com/hc/en-us/articles/115005247808).

- Revision header: `revision: 2026-10-15` (required)
- Scopes: `tracking-settings:read`
- Rate limits: Burst: `10/s`, Steady: `150/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/get_tracking_settings.json)

## Example request

### curl

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/tracking-settings' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-10-15'
```

### CLI

```bash
klaviyo tracking-settings list
```

Sign in first with `klaviyo auth login`. [Install the Klaviyo CLI](https://developers.klaviyo.com/en/docs/klaviyo_cli.md)

### Python

```python
from klaviyo_api import KlaviyoAPI

klaviyo = KlaviyoAPI("your-private-api-key")

response = klaviyo.Tracking_Settings.get_tracking_settings()
```

Install it with `pip install klaviyo-api`. [The Python SDK on GitHub](https://github.com/klaviyo/klaviyo-api-python)

### Node.js

```javascript
import { ApiKeySession, TrackingSettingsApi } from 'klaviyo-api'

const session = new ApiKeySession('your-private-api-key')
const trackingSettingsApi = new TrackingSettingsApi(session)

const response = await trackingSettingsApi.getTrackingSettings()
```

Install it with `npm install klaviyo-api`. [The Node.js SDK on GitHub](https://github.com/klaviyo/klaviyo-api-node)

### Ruby

```ruby
require 'klaviyo-api-sdk'

KlaviyoAPI.configure do |config|
  config.api_key['Klaviyo-API-Key'] = 'Klaviyo-API-Key your-private-api-key'
end

response = KlaviyoAPI::TrackingSettings.get_tracking_settings()
```

Install it with `gem install klaviyo-api-sdk`. [The Ruby SDK on GitHub](https://github.com/klaviyo/klaviyo-api-ruby)

### PHP

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

use KlaviyoAPI\KlaviyoAPI;

$klaviyo = new KlaviyoAPI('your-private-api-key');

$response = $klaviyo->TrackingSettings->getTrackingSettings();
```

Install it with `composer require klaviyo/api`. [The PHP SDK on GitHub](https://github.com/klaviyo/klaviyo-api-php)

## Query parameters

- `fields[tracking-setting]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/reference.md) Allowed values: `auto_add_parameters`, `custom_parameters`, `id`, `utm_campaign`, `utm_campaign.campaign`, `utm_campaign.campaign.type`, `utm_campaign.campaign.value`, `utm_campaign.flow`, `utm_campaign.flow.type`, `utm_campaign.flow.value`, `utm_id`, `utm_id.campaign`, `utm_id.campaign.type`, `utm_id.campaign.value`, `utm_id.flow`, `utm_id.flow.type`, `utm_id.flow.value`, `utm_medium`, `utm_medium.campaign`, `utm_medium.campaign.type`, `utm_medium.campaign.value`, `utm_medium.flow`, `utm_medium.flow.type`, `utm_medium.flow.value`, `utm_source`, `utm_source.campaign`, `utm_source.campaign.type`, `utm_source.campaign.value`, `utm_source.flow`, `utm_source.flow.type`, `utm_source.flow.value`, `utm_term`, `utm_term.campaign`, `utm_term.campaign.type`, `utm_term.campaign.value`, `utm_term.flow`, `utm_term.flow.type`, `utm_term.flow.value`
- `page[cursor]` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/reference.md)
- `page[size]` (integer): Default: 1. Min: 1. Max: 1.

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-10-15`

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object[], required)
  - `type` (string, required): Allowed values: `tracking-setting`
  - `id` (string, required): The id of the tracking setting (account ID).
  - `attributes` (object, required)
    - `auto_add_parameters` (boolean, required): Whether tracking parameters are automatically added to campaigns and flows.
    - `utm_source` (object, required)
      - `flow` (oneOf, nullable): The value of the tracking parameter when applied to a flow. Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/get_tracking_settings.json).
      - `campaign` (oneOf, nullable): The value of the tracking parameter when applied to a campaign. Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/get_tracking_settings.json).
    - `utm_medium` (TrackingParamDTO, required): Same fields as the first TrackingParamDTO above.
    - `utm_campaign` (TrackingParamDTO): Same fields as the first TrackingParamDTO above.
    - `utm_id` (TrackingParamDTO): Same fields as the first TrackingParamDTO above.
    - `utm_term` (TrackingParamDTO): Same fields as the first TrackingParamDTO above.
    - `custom_parameters` (object[], nullable): Additional custom tracking parameters.
      - `flow` (oneOf, nullable): The value of the tracking parameter when applied to a flow. Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/get_tracking_settings.json).
      - `campaign` (oneOf, nullable): The value of the tracking parameter when applied to a campaign. Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/get_tracking_settings.json).
      - `name` (string, required): The name of the custom tracking parameter
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (object)
  - `self` (string<uri>, required)
  - `prev` (string<uri>)
  - `next` (string<uri>)
- `meta` (object): Response-level metadata
  - `agent_hints` (object): Optional hints emitted by the API for agent callers
    - `next_steps` (string[]): Suggested follow-up actions for agents to take after this response

#### Example response body

```json
{
  "data": [
    {
      "type": "tracking-setting",
      "id": "string",
      "attributes": {
        "auto_add_parameters": true,
        "utm_source": {
          "flow": {
            "type": "dynamic",
            "value": "email_subject"
          },
          "campaign": {
            "type": "dynamic",
            "value": "campaign_id"
          }
        },
        "utm_medium": {
          "flow": {
            "type": "dynamic",
            "value": "email_subject"
          },
          "campaign": {
            "type": "dynamic",
            "value": "campaign_id"
          }
        },
        "utm_campaign": {
          "flow": {
            "type": "dynamic",
            "value": "email_subject"
          },
          "campaign": {
            "type": "dynamic",
            "value": "campaign_id"
          }
        },
        "utm_id": {
          "flow": {
            "type": "dynamic",
            "value": "email_subject"
          },
          "campaign": {
            "type": "dynamic",
            "value": "campaign_id"
          }
        },
        "utm_term": {
          "flow": {
            "type": "dynamic",
            "value": "email_subject"
          },
          "campaign": {
            "type": "dynamic",
            "value": "campaign_id"
          }
        },
        "custom_parameters": [
          {
            "flow": {
              "type": "dynamic",
              "value": "email_subject"
            },
            "campaign": {
              "type": "dynamic",
              "value": "campaign_id"
            },
            "name": "string"
          }
        ]
      },
      "links": {
        "self": "https://www.example.com"
      }
    }
  ],
  "links": {
    "self": "https://www.example.com",
    "prev": "https://www.example.com",
    "next": "https://www.example.com"
  },
  "meta": {
    "agent_hints": {
      "next_steps": [
        "string"
      ]
    }
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
