GET
/
promoters
/
sub_affiliates
curl --request GET \
  --url https://v2.firstpromoter.com/api/v2/affiliate/promoters/sub_affiliates \
  --header 'Account-ID: <account-id>' \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "name": "<string>",
    "email": "<string>",
    "stats": {
      "clicks_count": 123,
      "referrals_count": 123,
      "sales_count": 123,
      "customers_count": 123,
      "revenue_amount": 123,
      "active_customers_count": 123
    },
    "joined_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Access token passed as a Bearer token in the Authorization header

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

Example:

"acc_123456"

Response

200
application/json

Successful response

The response is of type object[].