2chat integration
2Chat provides a programmable API for integrating WhatsApp and other text…
- Provider
- _2chat
- Category
- Communication
- Setup
- User-supplied API key
- Actions
- 5 available
Quick start
Call 2chat from your generated app's worker code via the OverSkill composio client. The toolkit slug below maps to 2chat's public Composio identifier — your app references it by name and OverSkill handles the OAuth round-trip.
// In your generated app's worker handler:
const composio = composioClient(env);
const result = await composio.execute(
"_2CHAT_ACTION_NAME",
{ /* action parameters — see Actions section below */ }
);
return new Response(JSON.stringify(result), {
headers: { "Content-Type": "application/json" }
});
Replace ACTION_NAME with one of the slugs listed in
the Actions section below. The composio client handles auth +
rate limits automatically — no API key is exposed to user code.
Setup
End-users supply their own 2chat API key. OverSkill provides a pre-built connection form via the integration card — your app can call the composio client immediately once the user has connected.
Available actions
5 actions exposed via the
2chat integration. Each maps to a callable
slug — pass it to composio.execute(...) in your
worker code.
-
_2CHAT_CREATE_CONTACT -
_2CHAT_GET_API_USAGE_INFO -
_2CHAT_LIST_CONTACTS -
_2CHAT_LIST_WEBHOOKS -
_2CHAT_TEST_API_KEY
Build with 2chat
Open OverSkill, describe what you want to build, and reference 2chat in your prompt — the AI will wire up the integration automatically.