Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Request Code Samples
curl --location --request GET 'https://api.sweetref.com/affiliates/ap_kgoLDRy3J9DkluA4pYmrdW2V' \
--header 'Authorization: Bearer <token>'
Responses
application/json {
"id": "ap_kgoLDRy3J9DkluA4pYmrdW2V",
"code": "DJ0ASLVZ",
"conversions_count": 0,
"created_at": "2024-08-09 00:00:00 UTC",
"email": "aff0@aff.com",
"first_name": "Maximo",
"last_name": "Bednar",
"payouts_count": 25,
"paypal_email": "aff0@aff.com",
"referrals_count": 8,
"signups_count": 0,
"source": "program_page",
"status": "pending",
"total_commission_cents": 383430,
"total_payout_cents": 1156300,
"total_profit_cents": 894670,
"total_revenue_cents": 1278100,
"updated_at": "2024-08-09 15:34:17 UTC",
"visits_count": 1,
"wise_email": "aff0@aff.com"
}
Modified at 2024-11-10 14:57:57