communicationapi_key

2chat

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

Verdict

The 2chat MCP connects your WhatsApp Business account to Switchy, letting you create contacts, check message quotas, and audit webhook subscriptions without leaving your workspace. Sales and support teams use it to log new leads from conversations, verify they have enough API credits before a campaign, and troubleshoot webhook configurations when messages aren't flowing. The MCP requires a 2chat API key with appropriate permissions — you'll need an active WhatsApp Business account through 2chat's platform to get meaningful results from these tools.

Common use cases

  • Log new leads from sales calls
  • Check message quota before bulk sends
  • Audit webhook subscriptions for debugging
  • Verify API credentials after rotation
  • Retrieve contact list for campaign planning

Integration

Vendor
2chat
Category
communication
Auth
API_KEY
Tools
5
Composio slug
_2chat

Tools

  • 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).

  • 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.

  • 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.

  • List Webhook Subscriptions

    Tool to list all configured webhook subscriptions. use when you need to audit or review your active whatsapp webhook subscriptions.

  • Test API Key

    Tool to validate your api key and retrieve account info. use when confirming credentials before performing other operations.

Setup

Setup guide

  1. 11. Open your Switchy workspace and navigate to Settings > Integrations > MCP Servers. 2. Click Add MCP Server and select 2chat from the list. 3. Log into your 2chat dashboard at app.2chat.io and go to Settings > API Keys. 4. Generate a new API key with permissions for contacts, webhooks, and account info, then copy it. 5. Paste the API key into Switchy's configuration field and click Connect. 6. Create or open a Space in Switchy and type '@2chat test my connection' to verify the integration works. 7. If the test succeeds, you'll see your account details and current API usage limits. 8. To invoke any tool, @mention 2chat in a message and describe what you need — the AI will route your request to the appropriate endpoint.

What teammates see: by default, memories from 2chat are scoped to the Space (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Spaces have used this MCP together with a given model.

How Switchy teams use it

Not enough Spaces yet to publish anonymised usage stats (we require ≥ 50 Spaces per week).

Starter prompts

Add New Contact

@2chat create a new contact with first name Sarah, email sarah.chen@example.com, and phone +1-555-0142
Open in a Space →

Check Remaining Quota

@2chat show me my current API usage and how many requests I have left this month
Open in a Space →

List All Contacts

@2chat get a list of all contacts in my account so I can review who we've added recently
Open in a Space →

Review Webhooks

@2chat list all my webhook subscriptions and show me which events they're listening for
Open in a Space →

Validate Credentials

@2chat test my API key and confirm my account details are correct
Open in a Space →

Example outputs

Illustrative - representative of the model's voice and quality, not literal recordings.

Prompt

@2chat list all contacts in my account and show me their phone numbers and last interaction dates

Output

Retrieved 47 contacts from your 2chat account. Here's a summary: 12 contacts have phone numbers starting with +1 (US), 8 with +44 (UK), and 27 with +55 (Brazil). Most recent interaction was with Maria Silva (+55 11 98765-4321) on January 15, 2025. 5 contacts haven't been reached in over 90 days: John Doe, Sarah Chen, Ahmed Hassan, Lisa Park, and Tom Wilson. All contacts include first names and at least one verified contact method (phone, email, or address) as required by 2chat's data model.

Notes

This example shows the MCP's read capability for contact management. The List Contacts tool returns all stored contacts, so response size grows with your account. If you have hundreds of contacts, consider filtering by date range or interaction status in your prompt to keep responses focused.

Prompt

@2chat create a new contact for Alex Johnson with phone +1-415-555-0199 and email alex.johnson@example.com

Output

Successfully created contact 'Alex Johnson' in your 2chat account. Contact ID: cnt_8x9k2m4p. Phone number +1-415-555-0199 and email alex.johnson@example.com have been verified and stored. This contact is now available for WhatsApp messaging campaigns and can receive automated notifications through your configured webhooks. You can update additional fields (address, custom tags, notes) by referencing this contact ID in future requests.

Notes

This demonstrates the MCP's write capability. The Create Contact tool requires a first name and at least one contact detail (phone, email, or address) per 2chat's validation rules. Creating contacts consumes API quota, so check your remaining usage with the Get API Usage Info tool if you're bulk-importing contacts to avoid hitting rate limits mid-operation.

Prompt

@2chat check my API usage and tell me if I have enough quota left to send 200 WhatsApp messages this week

Output

Your 2chat account currently shows 3,847 API calls remaining this month (resets February 1). Based on your plan tier (Professional), you have 8,200 WhatsApp messages remaining in your monthly quota. Sending 200 messages this week is well within limits—you'd still have 8,000 messages available afterward. Your webhook subscriptions (4 active) don't count against message quotas but do consume API calls when triggered. Current usage rate: ~450 API calls per day over the last 7 days.

Notes

This example pairs the Get API Usage Info tool with AI reasoning to answer a forward-looking question. The MCP returns raw quota numbers; the AI calculates whether your planned activity fits within limits. Useful before bulk operations (contact imports, campaign sends) to avoid mid-process failures due to quota exhaustion.

Use-case deep-dives

Onboarding drip via WhatsApp

When 2chat fits a small SaaS onboarding sequence

A 6-person B2C SaaS team wants to send WhatsApp onboarding messages to trial users in emerging markets where email open rates are under 10%. The 2chat MCP is the right call if you're managing under 500 contacts and need to create contacts, check quota, and trigger sends from a shared AI workspace. The Create Contact and Get API Usage Info tools let you build a simple drip without leaving Switchy. The trade-off: 2chat doesn't expose message-send or template tools in this MCP, so you'll still script those via their REST API or dashboard. If your onboarding flow needs conditional logic based on user replies, you're better off with a dedicated automation platform. For straightforward contact creation and quota monitoring during a pilot, this MCP saves you from context-switching to the 2chat dashboard.

Customer support contact lookup

Why 2chat works for support ticket enrichment

A 3-person support team fields Intercom tickets from customers who also message the company WhatsApp line. They want to pull 2chat contact records into Switchy to see if a ticket-submitter has an open WhatsApp thread. The List Contacts tool makes this a one-step lookup during triage. The MCP shines here because the team isn't sending bulk messages—they're just reading contact data to route tickets faster. The 5-tool scope is narrow, so you won't accidentally expose webhook config or quota resets to the whole team. The boundary: if you need to search contacts by phone number or filter by tags, the List Contacts tool returns everything and you'll filter client-side. For a small contact base (under 1,000 records), that's fine. For a support team that just needs fast read access to WhatsApp contact history, this MCP is a clean fit.

Webhook audit for compliance

When 2chat's webhook tool closes an ops gap

A 4-person ops team at a fintech startup needs to document all active WhatsApp webhook subscriptions for a SOC 2 audit. The 2chat dashboard shows webhooks, but the team wants a timestamped record in Switchy that they can export and attach to the audit report. The List Webhook Subscriptions tool gives them that in one query. This is a perfect use-case because it's infrequent (quarterly audits), low-risk (read-only), and the MCP's API key auth matches their existing 2chat setup. The trade-off: if you need to create or delete webhooks, you're back in the dashboard—the MCP doesn't expose write operations for subscriptions. For periodic compliance checks where you just need to snapshot your webhook config, this MCP is faster than screenshotting the dashboard and more auditable than a manual spreadsheet.

Frequently asked

What does the 2chat MCP do in Switchy?

It connects your 2chat WhatsApp Business account so AI agents can create contacts, check API usage, and list webhook subscriptions without leaving the conversation. Useful for teams that manage customer outreach through 2chat and want agents to handle contact admin tasks automatically.

Do I need admin access to connect 2chat?

You need a 2chat API key with write permissions to create contacts. The key lives in your 2chat dashboard under API settings. Anyone on your team with access to that key can connect the MCP — no special admin role required in 2chat itself.

Can the 2chat MCP send WhatsApp messages?

No. It creates and lists contacts, checks your API quota, and audits webhook subscriptions. To actually send messages you still use 2chat's dashboard or their separate messaging API. This MCP handles the contact-management side only.

Why use this instead of 2chat's web dashboard?

Agents can create contacts mid-conversation without context-switching. If you're qualifying leads in Switchy and want to push them straight into 2chat for follow-up, the MCP does it in one step. The dashboard is still faster for bulk imports or message campaigns.

Does connecting 2chat count against my Switchy plan limits?

No. MCP connections are unlimited on all Switchy plans. The API calls the MCP makes do count against your 2chat account quota, so use the Get API Usage Info tool to monitor how many requests you have left each month.

Data last verified 609 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.