# Kapso

```json
{
  "name": "Kapso",
  "slug": "kapso",
  "url": "https://composio.dev/toolkits/kapso",
  "markdown_url": "https://composio.dev/toolkits/kapso.md",
  "logo_url": "https://logos.composio.dev/api/kapso",
  "categories": [
    "sales & customer support"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-08-20T15:32:46.095Z"
}
```

![Kapso logo](https://logos.composio.dev/api/kapso)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Kapso MCP or direct API to send WhatsApp messages, manage contacts, run broadcasts, and trigger workflows through natural language.

## Summary

Kapso is an API platform for WhatsApp messaging, contacts, broadcasts, workflows, and serverless functions.
It helps teams manage customer conversations and automate outreach from one place.

## Categories

- sales & customer support

## Toolkit Details

- Tools: 10

## Images

- Logo: https://logos.composio.dev/api/kapso

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for Kapso.
  - Setup:
    - Configure Api Key credentials for Kapso.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Send WhatsApp order update to customer
- Create Kapso broadcast for webinar reminders
- Add new WhatsApp lead to contacts

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `KAPSO_GET_FUNCTION` | Get Function | Retrieve one Kapso serverless function's code, runtime configuration, deployment status, and computed URLs without invoking or changing it. |
| `KAPSO_GET_PHONE_NUMBER` | Get Phone Number | Retrieve one Kapso WhatsApp phone-number configuration by its Meta phone number ID. |
| `KAPSO_GET_PHONE_NUMBER_HEALTH` | Get Phone Number Health | Run Kapso's live checks for one WhatsApp phone-number configuration and return its body-level health status and individual check results. |
| `KAPSO_GET_WORKFLOW` | Get Workflow | Retrieve one workflow's metadata, full graph definition, or available variables without executing or changing it. |
| `KAPSO_LIST_CONVERSATIONS` | List Conversations | List one page of WhatsApp conversations by recent activity, with filters for phone number, status, assignment, and activity time range. |
| `KAPSO_LIST_CUSTOMERS` | List Customers | List Kapso project customers and filter them by name, external customer ID, or creation time. Returns one page and a continuation cursor. |
| `KAPSO_LIST_FUNCTIONS` | List Functions | List serverless functions configured in the Kapso project, including runtime and deployment state, without returning function source code or invoking any function. |
| `KAPSO_LIST_MESSAGES` | List Messages | 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. |
| `KAPSO_LIST_PHONE_NUMBERS` | List Phone Numbers | List WhatsApp phone-number configurations in the Kapso project, with filters for account, customer, messaging state, and display name. |
| `KAPSO_LIST_WORKFLOWS` | List Workflows | List project workflows and filter them by lifecycle status, name, or creation time. This read-only action does not execute a workflow. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK
```python
pip install composio_openai
```

```typescript
npm install @composio/openai
```

#### Path 1, Step 2: Initialize Composio and Create Tool Router Session

Import and initialize Composio client, then create a Tool Router session
```python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
```

```typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
```

#### Path 1, Step 3: Execute Kapso Tools via Tool Router with Your Agent

Get tools from Tool Router session and execute Kapso actions with your Agent
```python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'Send a WhatsApp message to +14155550123 saying your order has shipped.'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
```

```typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Send a WhatsApp message to +14155550123 saying your order has shipped.'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK for Python or TypeScript
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
```

#### Path 2, Step 2: Initialize Client and Create Tool Router Session

Import and initialize the Composio client, then create a Tool Router session for Kapso
```python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
```

```typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
```

#### Path 2, Step 3: Connect to AI Agent

Use the MCP server with your AI agent (Anthropic Claude or Mastra)
```python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Kapso tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Create a Kapso contact for Jane Doe with phone +14155550123.')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'Create a Kapso contact for Jane Doe with phone +14155550123.'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
```

## Why Use Composio?

### 1. AI Native Kapso Integration

- Supports both Kapso MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable WhatsApp messaging and contact actions
- Rich coverage for customer messaging, broadcasts, workflows, and Kapso data operations

### 2. Managed Auth

- Secure API key handling without hard-coding Kapso credentials in your agent code
- Central place to manage, scope, and revoke Kapso access
- Per user and per environment credentials for safer WhatsApp automation

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Clear tool schemas help agents understand when to send WhatsApp messages, update contacts, or start workflows
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Kapso
- Scoped, least privilege access to Kapso messaging, contacts, broadcasts, and workflows
- Full audit trail of agent actions to support review and compliance

## Use Kapso with any AI Agent Framework

Choose a framework you want to connect Kapso with:

None listed.

## Related Toolkits

- [Aeroleads](https://composio.dev/toolkits/aeroleads) - Aeroleads is a B2B lead generation platform for finding business emails and phone numbers. Grow your sales pipeline faster with powerful prospecting tools.
- [Autobound](https://composio.dev/toolkits/autobound) - Autobound is an AI-powered sales engagement platform that crafts hyper-personalized outreach and insights. It helps sales teams boost response rates and close more deals through tailored content and recommendations.
- [Better proposals](https://composio.dev/toolkits/better_proposals) - Better Proposals is a web-based tool for crafting and sending professional proposals. It helps teams impress clients and close deals faster with slick, easy-to-use templates.
- [Bidsketch](https://composio.dev/toolkits/bidsketch) - Bidsketch is a proposal software that helps businesses create professional proposals quickly and efficiently. It streamlines the proposal process, saving time while boosting client win rates.
- [Bolna](https://composio.dev/toolkits/bolna) - Bolna is an AI platform for building conversational voice agents. It helps businesses automate support and streamline interactions through natural, voice-powered conversations.
- [Botsonic](https://composio.dev/toolkits/botsonic) - Botsonic is a no-code AI chatbot builder for easily creating and deploying chatbots to your website. It empowers businesses to offer conversational experiences without writing code.
- [Botstar](https://composio.dev/toolkits/botstar) - BotStar is a comprehensive chatbot platform for designing, developing, and training chatbots visually on Messenger and websites. It helps businesses automate conversations and customer interactions without coding.
- [Callerapi](https://composio.dev/toolkits/callerapi) - CallerAPI is a white-label caller identification platform for branded caller ID and fraud prevention. It helps businesses boost customer trust while stopping spam, fraud, and robocalls.
- [Callingly](https://composio.dev/toolkits/callingly) - Callingly is a lead response management platform that automates immediate call and text follow-ups with new leads. It helps sales teams boost response speed and close more deals by connecting seamlessly with CRMs and lead sources.
- [Callpage](https://composio.dev/toolkits/callpage) - Callpage is a lead capture platform that lets businesses instantly connect with website visitors via callback. It boosts lead generation and increases your sales conversion rates.
- [Clearout](https://composio.dev/toolkits/clearout) - Clearout is an AI-powered service for verifying, finding, and enriching email addresses. It boosts deliverability and helps you discover high-quality leads effortlessly.
- [Clientary](https://composio.dev/toolkits/clientary) - Clientary is a platform for managing clients, invoices, projects, proposals, and more. It streamlines client work and saves you serious admin time.
- [Convolo ai](https://composio.dev/toolkits/convolo_ai) - Convolo ai is an AI-powered communications platform for sales teams. It accelerates lead response and improves conversion rates by automating calls and integrating workflows.
- [Crisp](https://composio.dev/toolkits/crisp) - Crisp is a customer messaging platform for live chat, contacts, helpdesk, and campaigns. It helps support teams manage customer conversations from one shared workspace.
- [Delighted](https://composio.dev/toolkits/delighted) - Delighted is a customer feedback platform based on the Net Promoter System®. It helps you quickly gather, track, and act on customer sentiment.
- [Docsbot ai](https://composio.dev/toolkits/docsbot_ai) - Docsbot ai is a platform that lets you build custom AI chatbots trained on your documentation. It automates customer support and content generation, saving time and improving response quality.
- [Emelia](https://composio.dev/toolkits/emelia) - Emelia is an all-in-one B2B prospecting platform for cold-email, LinkedIn outreach, and prospect research. It streamlines outbound campaigns so you can find, engage, and warm up leads faster.
- [Extrovert](https://composio.dev/toolkits/extrovert) - Extrovert is a LinkedIn prospect engagement platform for campaigns, monitored topics, writing styles, contexts, and team workflows. It helps teams scale relevant outreach while keeping prospect conversations organized.
- [Findymail](https://composio.dev/toolkits/findymail) - Findymail is a B2B data provider offering verified email and phone contacts for sales prospecting. Enhance outreach with automated exports, email verification, and CRM enrichment.
- [Freshdesk](https://composio.dev/toolkits/freshdesk) - Freshdesk is customer support software with ticketing and automation tools. It helps teams streamline helpdesk operations for faster, better customer support.

## Frequently Asked Questions

### Do I need my own developer credentials to use Kapso with Composio?

Yes, Kapso requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you. You can create the auth config with auth_configs.create(), link users with connected_accounts.link(), and expose Kapso tools through mcp.create() when using MCP.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
