Affiliations

List affiliate links for a user

get/v2/affiliation/{userId}/links

Request

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

Path parameters

userIdinteger required

ID of the affiliate user

Query parameters

statusstring

Filter by link status: active, deleted, or all. Defaults to active

Response

Links retrieved successfully

metadataobject

Example response

{
  "data": [
    {
      "id": 1234,
      "name": "Link 1",
      "slug": "summer-promo",
      "landingPath": "pricing"
    }
  ]
}

Changes

No recorded changes to this operation across all 4 revisions of this API.