---
title: "Get Affiliate Tracking Domain"
method: GET
path: "/networks/affiliates/{affiliateId}/trackingdomains/{affiliateTrackingDomainId}"
tags: ["Tracking Domains"]
---

# Get Affiliate Tracking Domain

`GET /networks/affiliates/{affiliateId}/trackingdomains/{affiliateTrackingDomainId}`

## Request

- Base URL: `https://api.eflow.team/v1`
- URL: `https://api.eflow.team/v1/networks/affiliates/{affiliateId}/trackingdomains/{affiliateTrackingDomainId}`
- Auth: API key in header `X-Eflow-Api-Key`
- TypeScript: <https://skmtc.dev/everflow/apis/everflow-network-api-tracking-domains/docs/networks/affiliates/:affiliateId/trackingdomains/:affiliateTrackingDomainId/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a single affiliate tracking domain assignment by its ID.

## Path parameters

- `affiliateId` integer, required
- `affiliateTrackingDomainId` integer, required

## Response `200`

- AffiliateTrackingDomain
  - `network_affiliate_tracking_domain_id` integer: Unique affiliate tracking domain assignment ID.
  - `network_id` integer: Network ID.
  - `network_affiliate_id` integer: Affiliate ID.
  - `network_tracking_domain_id` integer: Tracking domain ID.
  - `is_apply_all_offers` boolean: Whether this tracking domain applies to all offers.
  - `network_offer_id` integer: The specific offer ID this domain is applied to.
  - `relationship` object: Related data for this affiliate tracking domain assignment. Includes affiliate, tracking domain, and optionally offer details.
    - `affiliate` object: Related affiliate details.
      - `network_affiliate_id` integer: The affiliate ID.
      - `network_id` integer: The network ID.
      - `name` string: The affiliate name.
      - `account_status` string: The affiliate account status.
      - `network_traffic_source_id` integer: The traffic source ID associated with the affiliate.
    - `tracking_domain` object: Related tracking domain details.
      - `network_tracking_domain_id` integer: The tracking domain ID.
      - `network_id` integer: The network ID.
      - `url` string: The tracking domain URL.
      - `is_primary_domain` boolean: Whether this is the primary tracking domain.
      - `domain_status` string: Domain status.
      - `is_unassignable` boolean: Whether the domain cannot be assigned to offers.
      - `ownership` string: Domain ownership information.
      - `is_ssl_enabled` boolean: Whether SSL is enabled for this domain.
      - `html_static_redirect` string: HTML static redirect content.
      - `url_redirect` string: URL redirect value.
      - `public_notes` string: Public-facing notes for this domain.
      - `time_created` integer: Unix timestamp of creation.
      - `time_saved` integer: Unix timestamp of last update.
    - `offer` object: Related offer details. Present when `is_apply_all_offers` is false.
      - `network_offer_id` integer: The offer ID.
      - `network_id` integer: The network ID.
      - `network_advertiser_id` integer: The advertiser ID that owns the offer.
      - `network_offer_group_id` integer: The offer group ID, 0 if not part of a group.
      - `name` string: The offer name.
      - `offer_status` string: The offer status.
      - `network_tracking_domain_id` integer: The tracking domain ID assigned to the offer.
      - `visibility` 'public' | 'private' | 'require_approval': The offer visibility.
      - `currency_id` string: The offer currency.

## Other responses

- `400`: Could not fetch the affiliate tracking domain from the database.
- `404`: Affiliate tracking domain not found.

---

[API](https://skmtc.dev/everflow/apis/everflow-network-api-tracking-domains.md) - [All operations](https://skmtc.dev/everflow/apis/everflow-network-api-tracking-domains/llms.txt) - [OpenAPI document](https://skmtc.dev/everflow/apis/everflow-network-api-tracking-domains/revisions/39242cee0e32?raw)
