View Default Trackers

GET /backend/open-api/v1/affiliates/affiliate-trackers/{default_affiliate_tracker_id}

View all Default Trackers.

Headers

Name Value
Authorization Bearer <token>

Path parameters

Name Type Description Required
default_affiliate_tracker_id Integer ID of a Default Affiliate Tracker. Add to the path to review only the selected tracker.

Response

{
    "data": [
        {
            "id": 240,
            "offer_id": 474,
            "goal_id": 522,
            "type": 0,
            "status": 0,
            "content": "<https://example.com>&promocode={bonus_cash}"
        },
        {
            "id": 241,
            "offer_id": 474,
            "goal_id": 523,
            "type": 1,
            "status": 1,
            "content": "<https://example.com>"
        }
    ],
    "total": 2,
    "per_page": 200,
    "page": 1,
    "pages": 1
}

Create a Default Tracker

POST /backend/open-api/v1/affiliates/affiliate-trackers/

Create a Default Tracker.

Headers

Name Value
Content-Type application/json
Authorization Bearer <token>

Body parameters

Name Type Description Required Restrictions
offer_id Integer ID of the offer that will be tracked. ☑️
goal_id Integer ID of on offer goal that will be tracked. ☑️
type Integer Type of the tracker. ☑️ 0 - Postback
1 - Pixel
content string A URL or an HTML snippet that's used for tracking. ☑️

Request body