2chat
Overview
SLUG: _2CHAT
Description
2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and automate workflows.
Authentication Details
API Key
Connecting to 2chat
Create an auth config
Use the dashboard to create an auth config for the 2chat toolkit. This allows you to connect multiple 2chat accounts to Composio for agents to use.
Select App
Navigate to the [ 2chat toolkit page](https://app.composio.dev/apps/ 2chat) and click “Setup Integration”.
Create and Get auth config ID
Click “Create Integration”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the [ 2chat toolkit’s playground](https://app.composio.dev/app/ 2chat)
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
_2CHAT_CREATE_CONTACT
Tool Name: Create Contact
Description
Action Parameters
Action Response
_2CHAT_GET_API_USAGE_INFO
Tool Name: Get API Usage Info
Description
Action Parameters
Action Response
_2CHAT_LIST_CONTACTS
Tool Name: List Contacts
Description
Action Parameters
Action Response
_2CHAT_LIST_WEBHOOKS
Tool Name: List Webhook Subscriptions
Description
Action Parameters
Action Response
_2CHAT_TEST_API_KEY
Tool Name: Test API Key
Description
Action Parameters
Action Response