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"
}
]
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"
}
]
Access token passed as a Bearer token in the Authorization header
Account identifier that specifies which account is making the request
"acc_123456"
Successful response
The response is of type object[]
.