{
  "info": {
    "name": "Capsule CRM — mcp.ai",
    "description": "REST API for the Capsule CRM 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/capsule_crm",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "capsule_crm_create_party",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/party",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "party"
          ]
        },
        "description": "Tool to create a party in capsule crm. use when you have collected a person's or organisation's details and need to add a new record.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"tags\": \"\",\n  \"team\": {},\n  \"type\": \"\",\n  \"about\": \"\",\n  \"owner\": {},\n  \"title\": \"\",\n  \"fields\": \"\",\n  \"jobTitle\": \"\",\n  \"lastName\": \"\",\n  \"websites\": \"\",\n  \"addresses\": \"\",\n  \"firstName\": \"\",\n  \"organisation\": {},\n  \"phoneNumbers\": \"\",\n  \"emailAddresses\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "capsule_crm_delete_party",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/party",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "party"
          ]
        },
        "description": "Tool to fully delete a specific party (person or organisation) from capsule crm. use when you need to completely remove a party after confirming no active references remain.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"party_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "capsule_crm_list_deleted_opportunities",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/deleted/opportunities",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "deleted",
            "opportunities"
          ]
        },
        "description": "Tool to list opportunities deleted or restricted since a given date. use when you need to identify recently deleted or restricted opportunities.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"since\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "capsule_crm_list_deleted_parties",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/deleted/parties",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "deleted",
            "parties"
          ]
        },
        "description": "Tool to retrieve parties deleted since a given date. use when you need to sync deletions.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"since\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "capsule_crm_list_entries_by_date",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/entries/by/date",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "entries",
            "by",
            "date"
          ]
        },
        "description": "Tool to list notes, emails, and completed party tasks in descending order by entry date. use when you need the most recent entries first after authenticating.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"embed\": \"\",\n  \"perPage\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "capsule_crm_list_org_employees",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/org/employees",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "org",
            "employees"
          ]
        },
        "description": "Tool to list employees linked to a specific organisation (party). use when you need to retrieve all employees under a given organisation.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"embed\": \"\",\n  \"perPage\": 0,\n  \"party_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "capsule_crm_list_parties",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/parties",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "parties"
          ]
        },
        "description": "Tool to list all parties (contacts) on the account. use when you need to fetch contacts with optional filters or embed additional related data.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"embed\": \"\",\n  \"since\": \"\",\n  \"perPage\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "capsule_crm_list_projects",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/projects",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "projects"
          ]
        },
        "description": "Tool to list projects (cases) from capsule crm. use when you need a paginated or filtered view of projects.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"fields\": \"\",\n  \"search\": \"\",\n  \"status\": \"\",\n  \"perPage\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "capsule_crm_list_tasks",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/tasks",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "tasks"
          ]
        },
        "description": "Tool to list tasks on the capsule account. use when you need to retrieve tasks with filters or embedded related data.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"embed\": \"\",\n  \"status\": \"\",\n  \"perPage\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "capsule_crm_list_users",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/users",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "users"
          ]
        },
        "description": "Tool to list all users on the capsule account. use after authentication to enumerate users for reporting or auditing.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"embed\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "capsule_crm_run_filter_query",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/run/filter/query",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "run",
            "filter",
            "query"
          ]
        },
        "description": "Tool to run structured filter queries on parties, opportunities or kases. use when you need to retrieve entities matching specific filter conditions.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"embed\": \"\",\n  \"entity\": \"\",\n  \"filter\": {},\n  \"perPage\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "capsule_crm_update_party",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/party",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "party"
          ]
        },
        "description": "Tool to update an existing person or organisation (party) in capsule crm. use when you need to modify specific fields of a party after confirming its id. example: \"update party 11587 to remove phone n",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"embed\": \"\",\n  \"party\": {},\n  \"partyId\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}