API documentation
The following API endpoints are available:
AFFILIATE
-
GET /offerStats
Get the same data available in the Offer reports (affiliate revenues by date, country, offer or utm parameters) -
GET /offers
Get the list of offers with optional filters -
GET /offerClicks
Get the list of clicks (clicks log) for the current affiliate, with optional filters -
GET /offerConversions
Get the list of conversions (conversions log) for the current affiliate, with optional filters -
POST /shortlinks
Generate shortlinks with optional parameters (utm, subid, etc.) for one or more offers -
GET /offers/{id}/cap
Get the budget and capping information for a given offer -
GET /approvalRate/{startDate}/{endDate}
Get the approval rate for all offers
LEADS (AFFILIATE)
-
POST /leads/new
Send a new lead -
GET /leads/{id}
Get information about one or more leads -
GET /leads-list/{startDate}/{endDate}
Get the list of leads with optional filters
ADMIN
-
GET /admin/affiliateStats
Get the offer revenues reports by affiliate (first tab of the admin dashboard) -
GET /admin/daysStats
Get the revenues reports by days (Days tab of the admin dashboard) -
GET /admin/offerStats
Get the offer revenues reports (产品信息 tab of the admin dashboard) -
GET /admin/advStats
Get the offer revenues reports by advertiser (广告主 tab of the admin dashboard) -
GET /admin/offerClicks
Get the list of clicks (clicks log) with optional filters -
GET /admin/offerConversions
Get the list of conversions (conversions log) with optional filters -
GET /admin/users
Get user details -
POST /users/new | POST /users/{id}
Create or update a user -
GET /approvalRate/{startDate}/{endDate}
Get the approval rate for all offers
ADVERTISER
-
PUT /leads/{id}
Update a lead -
GET /leads/{id}
Get information about one or more leads -
POST /offers/create
Create a new offer -
GET /approvalRate/{startDate}/{endDate}
Get the approval rate for all offers -
GET /offerStats
Get the same data available in the Offer reports (advertiser revenues by date, country, offer or user_id)