View Global Trackers

GET /backend/open-api/v1/affiliates/global-postbacks/{global_tracker_id_postback}

View all Global Trackers.

Headers

Name Value
Authorization Bearer <token>

Path parameters

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

Response

{
    "data": [
        {
            "id": 93,
            "type_id": 1,
            "type": 0,
            "status": 0,
            "content": "<https://example.com>&bonus={aff_sub13}",
            "archived": false
        },
        {
            "id": 94,
            "type_id": 5,
            "type": 0,
            "status": 1,
            "content": "<https://example.com>&rev_share={revenue}",
            "archived": false
        }
    ],
    "total": 2,
    "per_page": 200,
    "page": 1,
    "pages": 1
}

Create a Global Tracker

POST /backend/open-api/v1/affiliates/global-postbacks

Create a Global Tracker.

Headers

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

Body parameters

Name Type Description Required Restrictions
type_id Integer ID of the Goal Type 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. ☑️
archived Integer Archived tracker. 0 - false
1 - true

Request body