# 2chat

> 2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and a…

2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and automate workflows.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**2chat** authenticates with an API key. Generate the credential in your 2chat account, then paste it into FlyMyAI the first time an agent uses a 2chat action.

[Get your 2chat credential →](https://developers.2chat.co/docs/API/authentication)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `2Chat API Key` | Your 2Chat API Key _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `_2CHAT_CREATE_CONTACT` | Tool to create a new contact in your 2chat account. use after gathering and verifying first name and at least one contact detail (email, phone, or address). | `first_name`, `contact_detail` |
| `_2CHAT_GET_API_USAGE_INFO` | Tool to retrieve current api usage and account information. use when you need to monitor your remaining quotas before sending more requests. | - |
| `_2CHAT_LIST_CONTACTS` | Tool to list all contacts in your 2chat account. use when you need to retrieve your contact list after confirming your account connection. | - |
| `_2CHAT_LIST_WEBHOOKS` | Tool to list all configured webhook subscriptions. use when you need to audit or review your active whatsapp webhook subscriptions. | - |
| `_2CHAT_TEST_API_KEY` | Tool to validate your api key and retrieve account info. use when confirming credentials before performing other operations. | - |

## Links

- [2chat website](https://2chat.co/)
- [Get API key / credential](https://developers.2chat.co/docs/API/authentication)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
