{
  "info": {
    "name": "CardClan — mcp.ai",
    "description": "REST API for the CardClan 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/cardclan",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "cardclan_create_integration_config",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/integration/config",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "integration",
            "config"
          ]
        },
        "description": "Create a persistent CardClan integration configuration linking a card to its workspace. The connected user's ID is resolved automatically.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"card_id\": \"\",\n  \"workspace_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cardclan_generate_card_url",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/generate/card/url",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "generate",
            "card",
            "url"
          ]
        },
        "description": "Generate a personalized CardClan viewing URL without sending an email. This may create recipient-specific CardClan state but does not deliver a message.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"card_id\": \"\",\n  \"recipients\": \"\",\n  \"integration_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cardclan_get_card_details",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/card/details",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "card",
            "details"
          ]
        },
        "description": "Get a CardClan card's title, merge-tag requirements, and owning workspace details by card ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"card_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cardclan_get_integration_config",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/integration/config",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "integration",
            "config"
          ]
        },
        "description": "Get a CardClan integration configuration by either integration ID or card ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"card_id\": \"\",\n  \"integration_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cardclan_list_cards",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/cards",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "cards"
          ]
        },
        "description": "List cards in a CardClan workspace, including card IDs needed for details, integration configuration, personalized links, and sending.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"workspace_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cardclan_list_email_accounts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/email/accounts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "email",
            "accounts"
          ]
        },
        "description": "List configured CardClan sender accounts that can be selected when sending a card.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cardclan_list_workflow_cards",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/workflow/cards",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "workflow",
            "cards"
          ]
        },
        "description": "List cards with active CardClan integration workflows and return their integration, card, and workspace IDs.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cardclan_list_workspaces",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/workspaces",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "workspaces"
          ]
        },
        "description": "List CardClan workspaces accessible to the connected account, including the workspace IDs needed to find cards and create integration configurations.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cardclan_send_card",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/send/card",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "send",
            "card"
          ]
        },
        "description": "Immediately personalize and send a CardClan card by email to one or more recipients. This externally side-effecting operation is irreversible; use GENERATE_CARD_URL when delivery is not intended.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"card_id\": \"\",\n  \"recipients\": \"\",\n  \"confirm_send\": false,\n  \"integration_id\": \"\",\n  \"email_account_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}