# API: List affiliates

# getAffiliates

Get list of all affiliates

TIP

This API call uses pagination for results.

# Optional parameters

Parameter Description
page Which page to return

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getAffiliates

# PHP Samples

# Response

{
    "success": true,
    "affiliates": [
        {
            "id": "4",
            "firstname": "Missouri",
            "lastname": "Hane",
            "date_created": "2023-04-20 17:48:19",
            "total_withdrawn": "0.00",
            "status": "Active",
            "visits": "0",
            "client_id": "446",
            "currency_id": "1",
            "balance": "90.00",
            "signups": "0",
            "signups_pending": "0"
        }
    ],
    "call": "getAffiliates",
    "sorter": {
        "perpage": 25,
        "totalpages": 1,
        "sorterrecords": 1,
        "sorterpage": 1
    },
    "server_time": 1684238110
}
Last Updated: 9/30/2024, 2:47:06 PM