---
title: "Get attribution settings"
method: GET
path: "/v2/apps/{app_id}/integrations/{integration_id}/attribution_settings"
tags: ["Attribution Settings"]
---

# Get attribution settings

`GET /v2/apps/{app_id}/integrations/{integration_id}/attribution_settings`

## Request

- Base URL: `https://api.tenjin.com`
- URL: `https://api.tenjin.com/v2/apps/{app_id}/integrations/{integration_id}/attribution_settings`
- Auth: HTTP bearer

## Path parameters

- `app_id` string, uuid, required
- `integration_id` integer, required

## Response `200`

The attribution settings

- AttributionSettingsDocument
  - `data` AttributionSettingsResource, required
    - `id` string, uuid, required
    - `type` 'attribution_setting', required
    - `attributes` object, required
      - `app_id` string, uuid, required: Id of the app
      - `integration_id` integer, required: Id of the integration: its channel id
      - `deterministic_click_attribution_window` string, nullable, required: Duration literal: `0`, whole hours `1h` to `24h`, or whole days `1d` to `30d`. A whole number of days is returned in days, so `24h` comes back as `1d`; null when the app's window applies
      - `deterministic_impression_attribution_window` string, nullable, required: Duration literal: `0`, whole hours `1h` to `24h`, or whole days `1d` to `30d`. A whole number of days is returned in days, so `24h` comes back as `1d`; null when the app's window applies
      - `probabilistic_click_attribution_window` string, nullable, required: Duration literal: `0`, whole hours `1h` to `24h`, or whole days `1d` to `3d`. A whole number of days is returned in days, so `24h` comes back as `1d`; null when the app's window applies
      - `probabilistic_impression_attribution_window` string, nullable, required: Duration literal: `0`, whole hours `1h` to `24h`, or whole days `1d` to `3d`. A whole number of days is returned in days, so `24h` comes back as `1d`; null when the app's window applies
  - `links` Links, required
    - `self` string, uri, required: URL of this request
    - `first` string, uri: URL of the first page of a list
    - `prev` string, uri: URL of the previous page of a list
    - `next` string, uri: URL of the next page of a list
    - `last` string, uri: URL of the last page of a list
  - `meta` object, required: Always empty

## Other responses

- `400`: A param is missing or invalid, a record is not found, or the organization has no ad account for the integration
- `401`: Missing or invalid credentials, or no access to the requested data
- `403`: Invalid token, or the user's role does not allow the request
- `498`: Expired token, or a token with an invalid signature

---

[API](https://skmtc.dev/tenjin/apis/campaign-management-api.md) - [All operations](https://skmtc.dev/tenjin/apis/campaign-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tenjin/apis/campaign-management-api/revisions/e3cae1a03a92?raw)
