2chat

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.

Common workflows with 2chat

01

Trigger on event

  1. Listen for a new event
  2. Parse and validate the payload
  3. Take an action with the linked tool
02

Daily summary

  1. Pull yesterday's activity
  2. Summarise with the model of your choice
  3. Send the digest via email or Slack
03

Cross-tool sync

  1. Read records from one app
  2. Transform with a persona
  3. Write the result back via this integration

2chat actions 5

Every 2chat action below is a callable tool any Definable persona can invoke.

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

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.

Test API Key

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

Frequently asked questions

What can I automate with 2chat on Definable?

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.

How does 2chat authentication work?

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.

Is the 2chat integration included in my Definable plan?

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.

Is using 2chat through Definable secure?

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.

How do I get started with 2chat on Definable?

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.

What 2chat actions does Definable expose?

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.

Ready to automate with 2chat?

Wire it up in minutes. No coding required.

← All integrations