{
  "info": {
    "name": "Kapso — mcp.ai",
    "description": "REST API for the Kapso 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/kapso",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "kapso_get_function",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/function",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "function"
          ]
        },
        "description": "Retrieve one Kapso serverless function's code, runtime configuration, deployment status, and computed URLs without invoking or changing it.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"function_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kapso_get_phone_number",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/phone/number",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "phone",
            "number"
          ]
        },
        "description": "Retrieve one Kapso WhatsApp phone-number configuration by its Meta phone number ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"phone_number_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kapso_get_phone_number_health",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/phone/number/health",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "phone",
            "number",
            "health"
          ]
        },
        "description": "Run Kapso's live checks for one WhatsApp phone-number configuration and return its body-level health status and individual check results.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"phone_number_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kapso_get_workflow",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/workflow",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "workflow"
          ]
        },
        "description": "Retrieve one workflow's metadata, full graph definition, or available variables without executing or changing it.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"view\": \"\",\n  \"workflow_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kapso_list_conversations",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/conversations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "conversations"
          ]
        },
        "description": "List one page of WhatsApp conversations by recent activity, with filters for phone number, status, assignment, and activity time range.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"status\": \"\",\n  \"unassigned\": false,\n  \"next_cursor\": \"\",\n  \"phone_number_id\": \"\",\n  \"assigned_user_id\": \"\",\n  \"last_active_after\": \"\",\n  \"last_active_before\": \"\",\n  \"contact_phone_number\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kapso_list_customers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/customers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "customers"
          ]
        },
        "description": "List Kapso project customers and filter them by name, external customer ID, or creation time. Returns one page and a continuation cursor.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"per_page\": 0,\n  \"next_cursor\": \"\",\n  \"created_after\": \"\",\n  \"name_contains\": \"\",\n  \"created_before\": \"\",\n  \"external_customer_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kapso_list_functions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/functions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "functions"
          ]
        },
        "description": "List serverless functions configured in the Kapso project, including runtime and deployment state, without returning function source code or invoking any function.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kapso_list_messages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/messages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "messages"
          ]
        },
        "description": "List one page of WhatsApp message history project-wide through Kapso Platform or for one phone number through the Meta-compatible proxy. This tool only reads history and never sends messages.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"status\": \"\",\n  \"direction\": \"\",\n  \"api_surface\": \"\",\n  \"next_cursor\": \"\",\n  \"conversation_id\": \"\",\n  \"phone_number_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kapso_list_phone_numbers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/phone/numbers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "phone",
            "numbers"
          ]
        },
        "description": "List WhatsApp phone-number configurations in the Kapso project, with filters for account, customer, messaging state, and display name.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"per_page\": 0,\n  \"customer_id\": \"\",\n  \"next_cursor\": \"\",\n  \"name_contains\": \"\",\n  \"phone_number_id\": \"\",\n  \"messaging_enabled\": false,\n  \"business_account_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "kapso_list_workflows",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/workflows",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "workflows"
          ]
        },
        "description": "List project workflows and filter them by lifecycle status, name, or creation time. This read-only action does not execute a workflow.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"status\": \"\",\n  \"created_after\": \"\",\n  \"name_contains\": \"\",\n  \"created_before\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}