---
title: "Get affiliation properties for a user"
method: GET
path: "/v2/affiliation/{userId}"
tags: ["Affiliations"]
---

# Get affiliation properties for a user

`GET /v2/affiliation/{userId}`

## Request

- Base URL: `https://app.metricool.com/api`
- URL: `https://app.metricool.com/api/v2/affiliation/{userId}`
- Auth: none declared

## Path parameters

- `userId` integer, required

## Response `200`

Affiliation properties retrieved successfully

- JsonOkResponseAffiliationPropertiesDto
  - `metadata` object
  - `page` JsonPaging
    - `next` string
  - `data` AffiliationPropertiesDto: Affiliation properties and aggregate metrics for a user
    - `maxEarnPerReference` integer: Maximum earnings per referred user in USD
    - `affiliationPercentCommission` integer: Commission percentage for affiliations
    - `totalClicks` integer: Total number of clicks on affiliate links (active and deleted)
    - `affiliationEarned` number, double: Total amount earned from affiliations in USD
    - `affiliationPayed` number, double: Total amount paid out from affiliations in USD
    - `referencedUsersCount` integer: Total number of referred users who signed up
    - `paidUsers` integer: Number of referred users who became paying customers
    - `totalLinks` integer: Number of active affiliate links
    - `tier` AffiliateTier: Affiliate tier information
      - `currentLevel` string: Current affiliate tier level: tier_1 or tier_2
    - `banned` boolean: Whether the affiliate is banned

## Other responses

- `403`: User not authorized or affiliate is banned

---

[API](https://skmtc.dev/metricool/apis/metricool-api.md) · [All operations](https://skmtc.dev/metricool/apis/metricool-api/llms.txt) · [OpenAPI document](https://skmtc.dev/metricool/apis/metricool-api/revisions/cd0ca612fa01?raw)
