{
  "info": {
    "name": "Kiwify — mcp.ai",
    "description": "REST API for the Kiwify 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/kiwify",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "kiwify_affiliates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/affiliates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "affiliates"
          ]
        },
        "description": "Lista afiliados do creator na Kiwify (filtros opcionais: status, page_size, page).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"status\": \"\",\n  \"page_size\": 0,\n  \"page\": 0,\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kiwify_list_accounts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/accounts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "accounts"
          ]
        },
        "description": "Lista contas Kiwify (creators) vinculadas a este install — id, label e apelido.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kiwify_products",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/products",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "products"
          ]
        },
        "description": "Lista produtos do creator na Kiwify (filtros opcionais: page_size, page).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page_size\": 0,\n  \"page\": 0,\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kiwify_sales_get",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/sales/get",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "sales",
            "get"
          ]
        },
        "description": "Leitura de vendas na Kiwify.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"sale_id\": \"\",\n  \"start_date\": \"\",\n  \"end_date\": \"\",\n  \"product_id\": \"\",\n  \"status\": \"\",\n  \"page_size\": 0,\n  \"page\": 0,\n  \"account\": \"\",\n  \"sale_ids\": \"\",\n  \"product_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kiwify_sales_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/sales/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "sales",
            "list"
          ]
        },
        "description": "Leitura de vendas na Kiwify.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"sale_id\": \"\",\n  \"start_date\": \"\",\n  \"end_date\": \"\",\n  \"product_id\": \"\",\n  \"status\": \"\",\n  \"page_size\": 0,\n  \"page\": 0,\n  \"account\": \"\",\n  \"sale_ids\": \"\",\n  \"product_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kiwify_subscriptions_get",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/subscriptions/get",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subscriptions",
            "get"
          ]
        },
        "description": "Leitura de assinaturas na Kiwify.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"subscription_id\": \"\",\n  \"product_id\": \"\",\n  \"status\": \"\",\n  \"page_size\": 0,\n  \"page\": 0,\n  \"account\": \"\",\n  \"subscription_ids\": \"\",\n  \"product_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kiwify_subscriptions_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/subscriptions/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subscriptions",
            "list"
          ]
        },
        "description": "Leitura de assinaturas na Kiwify.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"subscription_id\": \"\",\n  \"product_id\": \"\",\n  \"status\": \"\",\n  \"page_size\": 0,\n  \"page\": 0,\n  \"account\": \"\",\n  \"subscription_ids\": \"\",\n  \"product_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kiwify_subscriptions_write_cancel",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/subscriptions/write/cancel",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subscriptions",
            "write",
            "cancel"
          ]
        },
        "description": "Mutações em assinaturas Kiwify.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"subscription_id\": \"\",\n  \"account\": \"\",\n  \"subscription_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}