{
  "info": {
    "name": "Gumroad — mcp.ai",
    "description": "REST API for the Gumroad 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/gumroad",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "gumroad_get_resource_subscriptions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/resource/subscriptions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "resource",
            "subscriptions"
          ]
        },
        "description": "Tool to show all active subscriptions of the user for the input resource. use when you need to review existing webhooks before adding a new one.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"resource_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "gumroad_get_sales",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/sales",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "sales"
          ]
        },
        "description": "Tool to retrieve all successful sales by the authenticated user. use when you need to list your gumroad sales, optionally filtering by email, date range, product, or pagination.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"after\": \"\",\n  \"email\": \"\",\n  \"before\": \"\",\n  \"product_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "gumroad_get_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "user"
          ]
        },
        "description": "Tool to retrieve the authenticated user's data. use when you need the current user's profile details after authentication.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "gumroad_subscribe_to_resource",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/subscribe/to/resource",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subscribe",
            "to",
            "resource"
          ]
        },
        "description": "Tool to subscribe to a resource. use when you need to receive real-time event webhooks after creating your webhook endpoint.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"post_url\": \"\",\n  \"resource_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "gumroad_unsubscribe_from_resource",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/unsubscribe/from/resource",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "unsubscribe",
            "from",
            "resource"
          ]
        },
        "description": "Tool to unsubscribe from a resource. use after verifying the subscription id exists to remove webhook.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"resource_subscription_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}