SweetRef
HomeLink
Multiple Menus
  • Link1
  • Link2
HomeLink
Multiple Menus
  • Link1
  • Link2
  1. Affiliates
  • Get Started
  • Webhooks
  • API
    • Affiliates
      • Get Affiliates
        GET
      • Find Affiliate by ID
        GET
      • Get Affiliate Referrals
        GET
    • Referrals
      • Get Referrals
      • Get Referral By ID
    • Referral Payments
      • Get Referrals Payments
      • Get Referral Payment By ID
    • Get Program Information
      GET
  1. Affiliates

Get Affiliates

Prod Env
https://api.sweetref.com
Prod Env
https://api.sweetref.com
GET
/affiliates

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.sweetref.com/affiliates?page=1&per_page=25' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Body

Example
{
    "data": [
        {
            "id": "string",
            "code": "string",
            "conversions_count": 0,
            "created_at": "2019-08-24T14:15:22Z",
            "email": "user@example.com",
            "first_name": "string",
            "last_name": "string",
            "payouts_count": 0,
            "paypal_email": "user@example.com",
            "referrals_count": 0,
            "signups_count": 0,
            "source": "string",
            "status": "pending",
            "total_commission_cents": 0,
            "total_payout_cents": 0,
            "total_profit_cents": 0,
            "total_revenue_cents": 0,
            "updated_at": "2019-08-24T14:15:22Z",
            "visits_count": 0,
            "wise_email": "user@example.com"
        }
    ],
    "meta": {
        "total_pages": 0,
        "total_count": 0,
        "current_page": 0
    }
}
Modified at 2024-11-11 16:35:29
Previous
Webhooks
Next
Find Affiliate by ID
Built with