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

# Get Tracking Setting

> This is the Markdown version of https://developers.klaviyo.com/en/v2025-01-15/reference/get_tracking_setting

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

Get the tracking setting with the given account ID.

- Revision header: `revision: 2025-01-15` (required)
- Scopes: `tracking-settings:read`
- Rate limits: Burst: `10/s`, Steady: `150/m`

## Example request

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

## Path parameters

- `id` (string, required): The id of the tracking setting (account ID). Example: `abCdEf`

## Query parameters

- `fields[tracking-setting]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md) Allowed values: `auto_add_parameters`, `utm_source`, `utm_source.flow`, `utm_source.flow.type`, `utm_source.flow.value`, `utm_source.campaign`, `utm_source.campaign.type`, `utm_source.campaign.value`, `utm_medium`, `utm_medium.flow`, `utm_medium.flow.type`, `utm_medium.flow.value`, `utm_medium.campaign`, `utm_medium.campaign.type`, `utm_medium.campaign.value`, `utm_campaign`, `utm_campaign.flow`, `utm_campaign.flow.type`, `utm_campaign.flow.value`, `utm_campaign.campaign`, `utm_campaign.campaign.type`, `utm_campaign.campaign.value`, `utm_id`, `utm_id.flow`, `utm_id.flow.type`, `utm_id.flow.value`, `utm_id.campaign`, `utm_id.campaign.type`, `utm_id.campaign.value`, `utm_term`, `utm_term.flow`, `utm_term.flow.type`, `utm_term.flow.value`, `utm_term.campaign`, `utm_term.campaign.type`, `utm_term.campaign.value`, `custom_parameters`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2025-01-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 aren't listed here; they're in the endpoint's OpenAPI document.
      - `campaign` (oneOf, nullable): The value of the tracking parameter when applied to a campaign. Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `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 aren't listed here; they're in the endpoint's OpenAPI document.
      - `campaign` (oneOf, nullable): The value of the tracking parameter when applied to a campaign. Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
      - `name` (string, required): The name of the custom tracking parameter
  - `links` (object, required)
    - `self` (string<uri>, required)

#### 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"
    }
  }
}
```

### 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"
      }
    }
  ]
}
```
