{
  "info": {
    "name": "Trackdesk — mcp.ai",
    "description": "REST API for the Trackdesk MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/trackdesk",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "trackdesk_build_tracking_link",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/build/tracking/link",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "build",
            "tracking",
            "link"
          ]
        },
        "description": "Generate a Trackdesk tracking URL for one affiliate traffic source and offer. This only constructs a URL; it does not record a click, create a conversion, or change offer configuration.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"target\": {},\n  \"offer_id\": \"\",\n  \"source_id\": \"\",\n  \"affiliate_params\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "trackdesk_get_affiliate",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/affiliate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "affiliate"
          ]
        },
        "description": "Return detailed information for one affiliate identified by its Trackdesk account ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"account_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "trackdesk_get_daily_performance_report",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/daily/performance/report",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "daily",
            "performance",
            "report"
          ]
        },
        "description": "Return Trackdesk performance rows, newest first, and aggregate totals for an inclusive date range. Use a bounded range because the response contains one row per day and is not paginated. filled_column",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"columns\": \"\",\n  \"to_date\": \"\",\n  \"timezone\": \"\",\n  \"from_date\": \"\",\n  \"source_ids\": \"\",\n  \"conversion_statuses\": \"\",\n  \"conversion_type_ids\": \"\",\n  \"custom_column_codes\": \"\",\n  \"client_metric_column_codes\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "trackdesk_list_advertisers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/advertisers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "advertisers"
          ]
        },
        "description": "Return one filtered page of advertisers. Trackdesk represents advertisers as revenue origins in this API. Increase offset by limit when has_more is true.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"offset\": 0,\n  \"filters\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "trackdesk_list_affiliate_tiers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/affiliate/tiers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "affiliate",
            "tiers"
          ]
        },
        "description": "Return all active affiliate tiers with their IDs, names, exact default payout rates, and default-tier flags.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "trackdesk_list_affiliates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/affiliates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "affiliates"
          ]
        },
        "description": "Return one filtered page of affiliates, including Trackdesk account and traffic-source identifiers, status, tier, fraud signals, tags, and available billing or payment details. Increase offset by the ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"offset\": 0,\n  \"filters\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "trackdesk_list_coupons",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/coupons",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "coupons"
          ]
        },
        "description": "Return one filtered page of Trackdesk coupons and their advertiser, affiliate traffic-source, offer, code, and status associations. Increase offset by limit only when pagination.has_more is true.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"codes\": \"\",\n  \"limit\": 0,\n  \"offset\": 0,\n  \"statuses\": \"\",\n  \"offer_ids\": \"\",\n  \"source_ids\": \"\",\n  \"advertiser_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "trackdesk_list_offers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/offers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "offers"
          ]
        },
        "description": "Return one filtered page of Trackdesk offers with each offer's data, pricing configuration, and landing pages. Increase offset by limit only when pagination.has_more is true.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"limit\": 0,\n  \"offset\": 0,\n  \"pinned\": false,\n  \"tag_ids\": \"\",\n  \"statuses\": \"\",\n  \"offer_ids\": \"\",\n  \"category_ids\": \"\",\n  \"visibilities\": \"\",\n  \"country_codes\": \"\",\n  \"conversion_type_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "trackdesk_list_tags",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/tags",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "tags"
          ]
        },
        "description": "Return all Trackdesk tags with their IDs, names, colors, and resource scopes.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}