API Method – getAffiliates
API Method – getAffiliates
getAffiliates
Get affiliate information.
API Category
Affiliate
HTTP Method
GET
Request Call Example
HTTP:
GET /api/v2/getAffiliates?key=yourapikey&status=active&id=1,2,3&manager_id=1 HTTP/1.1
Host: yourapplicationdomain
Java:
Unirest.get("http://yourapplicationdomain/api/v2/getAffiliates?key=yourapikey&status=active&id=1,2,3&manager_id=1").asString();
Parameters
Response
Sample in JSON:
getAffiliates
Get affiliate information.
API Category
Affiliate
HTTP Method
GET
Request Call Example
HTTP:
GET /api/v2/getAffiliates?key=yourapikey&status=active&id=1,2,3&manager_id=1 HTTP/1.1
Host: yourapplicationdomain
Java:
Unirest.get("http://yourapplicationdomain/api/v2/getAffiliates?key=yourapikey&status=active&id=1,2,3&manager_id=1").asString();
Parameters
Name | Type | Description |
id | String | Filter – a list of Affiliate ids: 3,123,445 |
status | String | Filter – Affiliate status: Active/Blocked |
manager_id | Integer | Filter –affiliate manager id |
Response
Sample in JSON:
{ "httpStatus": 200, "data": [ { "id": "2", "first_name": "affiliateTwo", "last_name": "last2", "status": "Active" }, { "id": "3", "first_name": "affiliateThree", "last_name": "last3", "status": "Active" } ], "errorCode": 0, "message": "" } |
Close All
API V3
API V2
-
User - Network
-
User - Affiliate
-
Offer
-
Report
-
-
User - Advertiser
-
offer
-
Dictionary
API V1 (DEPRECATED)