Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Request Code Samples
curl --location -g --request GET 'https://api.sweetref.com/affiliates/{affiliate_id/referrals' \
--header 'Authorization: Bearer <token>'
Responses
application/json {
"data": [
{
"id": "string",
"first_name": "string",
"last_name": "string",
"email": "string",
"conversion_date": "string",
"affiliate_id": "string",
"total_commission": 0,
"created_at": "string",
"updated_at": "string"
}
],
"meta": {
"total_pages": 0,
"total_count": 0,
"current_page": 0
}
}
Modified at 2024-11-11 16:35:35