# 2chat AI integration on Definable

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

## What this connects

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

Vendor: https://2chat.co/

## Tools available

**5** tools available. First 5:

- `_2CHAT_CREATE_CONTACT` — 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).
- `_2CHAT_GET_API_USAGE_INFO` — 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` — 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` — List Webhook Subscriptions — List all configured webhook subscriptions for WhatsApp and phone call events. Use this when you need to audit, review, or retrieve UUIDs of your active webhook subscriptions. Returns details including webhook UUID, event type, channel UUID, callback URL, and creation timestamp.
- `_2CHAT_TEST_API_KEY` — Test API Key — Tool to validate your API key and retrieve account info. Use when confirming credentials before performing other operations.

## Auth

Auth schemes: `API_KEY`.

## How agents use 2chat

Inside a Definable workflow, 2chat is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → 2chat** — the Researcher (GPT-5.5) pulls context from 2chat (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → 2chat** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into 2chat (create record, post message, draft email).
- **Designer / Engineer → Distributor → 2chat** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via 2chat (attach file, open PR comment, post status).

The Verifier checks every 2chat call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- communication — https://definable.ai/apps/category/communication/
- developer tools — https://definable.ai/apps/category/developer-tools/

## Related

- HTML page: https://definable.ai/apps/_2chat/
- Same category (communication): https://definable.ai/apps/category/communication/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
