Trigger on event
- Listen for a new event
- Parse and validate the payload
- Take an action with the linked tool
5 tools available
2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and automate workflows.
Connect 2chat to Definable to automate repetitive tasks, sync data with the rest of your stack, trigger on real-world events. Personas call 2chat's 5 tools directly from chat or scheduled flows. You can wire it into any persona to read, write, and react when an event fires.
Every 2chat action below is a callable tool any Definable persona can invoke.
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).
Tool to retrieve current API usage and account information. Use when you need to monitor your remaining quotas before sending more requests.
Tool to list all contacts in your 2Chat account. Use when you need to retrieve your contact list after confirming your account connection.
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.
Tool to validate your API key and retrieve account info. Use when confirming credentials before performing other operations.
Anything 2chat exposes through its API. Common communication workflows on Definable include automate repetitive tasks, sync data with the rest of your stack, trigger on real-world events. Personas can call any of the 5 2chat tools directly, then chain the result into another integration without you writing code.
2chat uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.
Yes — every Definable plan, including Starter, includes access to all 5 2chat tools. You only need a separate 2chat subscription if 2chat itself charges per seat or per API call.
Every call from a persona to 2chat is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.
Sign up for Definable, open the integrations page, find 2chat, and connect via OAuth or API key. You can immediately attach 2chat to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.
Definable exposes all 5 2chat actions as callable tools — including `Create Contact`, `Get API Usage Info`, `List Contacts`, plus 2 more. Each tool gets a typed parameter schema so personas know exactly how to call it.
Wire it up in minutes. No coding required.