---
title: "Get Affiliate by ID"
method: GET
path: "/networks/affiliates/{affiliateId}"
tags: ["Affiliates"]
---

# Get Affiliate by ID

`GET /networks/affiliates/{affiliateId}`

## Path parameters

- `affiliateId` integer, required

## Query parameters

- `relationship` 'reporting' | 'billing' | 'coupon_codes' | 'users' | 'audits' | 'visibility' | 'signup' | 'api' | 'traffic_source' | 'referral_link' | 'referrer' | 'referral' | 'supply_partner'

## Response `200`

- object
  - `network_affiliate_id` integer — Unique affiliate ID.
  - `network_id` integer — Network ID.
  - `name` string — Affiliate name.
  - `account_status` 'active' | 'inactive' | 'pending' | 'suspended' — Current account status.
  - `network_employee_id` integer — Account manager employee ID.
  - `internal_notes` string — Internal notes about this affiliate (not visible to the affiliate).
  - `default_currency_id` string — ISO currency code for the affiliate's default currency.
  - `enable_media_cost_tracking_links` boolean — Whether media cost tracking is enabled on this affiliate's links.
  - `is_contact_address_enabled` boolean — Whether a contact address is stored for this affiliate.
  - `has_notifications` boolean — Whether notifications are enabled.
  - `network_traffic_source_id` integer — Associated traffic source ID.
  - `account_executive_id` integer — Account executive employee ID.
  - `adress_id` integer — Address record ID. Note the field name uses a single 'd' (`adress_id`) in the API response.
  - `referrer_id` integer — ID of the referring affiliate, if any.
  - `time_created` integer — Unix timestamp of creation.
  - `time_saved` integer — Unix timestamp of last update.
  - `relationship` object — Related data (only present when requested via the `relationship` query parameter).
    - `labels` object — Labels associated with this affiliate.
      - `total` integer — Total number of labels.
      - `entries` string[] — List of label strings.
    - `account_manager` object — Account manager details.
      - `first_name` string — Account manager's first name.
      - `last_name` string — Account manager's last name.
      - `email` string — Account manager's email address.
      - `work_phone` string — Account manager's work phone number.
      - `cell_phone` string — Account manager's cell phone number.
      - `instant_messaging_id` integer — Account manager's instant messaging platform ID.
      - `instant_messaging_identifier` string — Account manager's instant messaging identifier.
    - `encoded_value` string — Encoded tracking value for this affiliate.
    - `network_affiliate_tier_id` integer — The affiliate tier this affiliate belongs to.
    - `reporting` object — Reporting metrics for the affiliate (requires `reporting` relationship).
      - `imp` integer — Total impressions.
      - `total_click` integer — Total clicks.
      - `unique_click` integer — Unique clicks.
      - `invalid_click` integer — Invalid (flagged) clicks.
      - `duplicate_click` integer — Duplicate clicks.
      - `gross_click` integer — Gross clicks (total + invalid + duplicate).
      - `ctr` number — Click-through rate.
      - `cv` integer — Conversions.
      - `invalid_cv_scrub` integer — Invalid conversions (scrubbed).
      - `view_through_cv` integer — View-through conversions.
      - `total_cv` integer — Total conversions.
      - `event` integer — Total events.
      - `cvr` number — Conversion rate.
      - `evr` number — Event rate.
      - `cpc` number — Cost per click.
      - `cpm` number — Cost per mille (thousand impressions).
      - `cpa` number — Cost per acquisition.
      - `epc` number — Earnings per click.
      - `rpc` number — Revenue per click.
      - `rpa` number — Revenue per acquisition.
      - `rpm` number — Revenue per mille.
      - `payout` number — Total payout amount.
      - `revenue` number — Total revenue.
      - `event_revenue` number — Revenue from events.
      - `gross_sales` number — Gross sales amount.
      - `profit` number — Net profit (revenue minus payout).
      - `margin` number — Profit margin percentage.
      - `roas` number — Return on ad spend.
      - `avg_sale_value` number — Average sale value.
      - `media_buying_cost` number — Media buying cost.
      - `on_hold_potential_revenue` number — Potential revenue from on-hold conversions.
      - `on_hold_potential_payout` number — Potential payout from on-hold conversions.
      - `on_hold_conversion_count` integer — Number of on-hold conversions.
      - `public_events` integer — Number of public events.
    - `billing` object — Billing and invoicing information (requires `billing` relationship).
      - `network_id` integer — Network ID.
      - `network_affiliate_id` integer — Affiliate ID.
      - `billing_frequency` 'weekly' | 'bimonthly' | 'monthly' | 'two_months' | 'quarterly' | 'manual' | 'other' — Invoicing frequency.
      - `payment_type` string — Payment method type.
      - `invoice_amount_threshold` number — Minimum amount for invoice generation.
      - `tax_id` string — Tax ID.
      - `is_invoice_creation_auto` boolean — Whether invoices are generated automatically.
      - `auto_invoice_start_date` string — Automatic invoice creation start date.
      - `default_invoice_is_hidden` boolean — Whether invoices are hidden from the affiliate by default.
      - `invoice_generation_days_delay` integer — Days to wait after billing period for invoice generation.
      - `default_payment_terms` integer — Default payment terms in days.
      - `is_automated_payment_enabled` boolean — Whether automated payment is enabled.
      - `vat_percentage` number — VAT percentage applied to invoices.
      - `is_payable` boolean — Whether the affiliate is payable.
      - `relationship` object — Billing frequency details (weekly, bimonthly, monthly, etc.).
    - `coupon_codes` object — Coupon codes associated with this affiliate (requires `coupon_codes` relationship).
      - `total` integer — Total number of coupon codes.
      - `entries` object[] — List of coupon code records.
    - `users` object — User accounts associated with this affiliate (requires `users` relationship).
      - `total` integer — Total number of users.
      - `entries` object[] — List of user records.
    - `audits` object — Revision history of changes (requires `audits` relationship).
      - `total` integer — Total number of audit records.
      - `entries` object[] — List of audit records.
    - `visible_offers` object — Offers visible to this affiliate (requires `visibility` relationship).
      - `total` integer — Total number of visible offers.
      - `entries` object[] — List of visible offer records.
    - `hidden_offers` object — Offers hidden from this affiliate (requires `visibility` relationship).
      - `total` integer — Total number of hidden offers.
      - `entries` object[] — List of hidden offer records.
    - `rejected_offers` object — Offers rejected for this affiliate (requires `visibility` relationship).
      - `total` integer — Total number of rejected offers.
      - `entries` object[] — List of rejected offer records.
    - `api_keys` object — API keys for this affiliate (requires `api` relationship).
      - `total` integer — Total number of API keys.
      - `entries` object[] — List of API key records.
    - `api_whitelist_ips` object — Whitelisted IPs for API access (requires `api` relationship).
      - `total` integer — Total number of whitelisted IPs.
      - `entries` object[] — List of whitelisted IP records.
    - `ios_app_sources` object — iOS app sources associated with this affiliate.
      - `total` integer — Total number of iOS app source records.
      - `entries` object[] — List of iOS app source records.

## Other responses

- `404` — Affiliate not found.

---

[API](https://skmtc.net/everflow/apis/everflow-network-api-tracking-domains.md) · [All operations](https://skmtc.net/everflow/apis/everflow-network-api-tracking-domains/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/everflow/everflow-network-api-tracking-domains/revisions/39242cee0e32/schema)
