2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and automate workflows.
2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and automate workflows. On Nagent, 2chat is exposed as a fully-configurable communication integration that any agent can call — 5 actions, and API key authentication. No code is required to wire 2chat into your workflow — connect it once via the External Integrations panel and reuse it across every agent you build.
Agent builders use 2chat to automate the kinds of tasks communication teams previously handled manually. Concrete examples — each one is a single agent step in Nagent — include:
Every action and trigger is paired with a structured input/output schema (visible in the sections below), so when you wire 2chat into Helix — our agentic agent builder — the editor knows exactly what each step expects and produces. Configure once, deploy anywhere across your Nagent agents.
Every operation an agent can call against 2chat, with input parameters and output schema. Drop these into any step of an agent built in Helix.
_2CHAT_CREATE_CONTACTTool 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).
Input parameters
Last name of the new contact
First name of the new contact
A list of contact detail entries; at least one entry is required
Publicly accessible URL of the contact's profile picture
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
_2CHAT_GET_API_USAGE_INFOTool to retrieve current API usage and account information. Use when you need to monitor your remaining quotas before sending more requests.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
_2CHAT_LIST_CONTACTSTool to list all contacts in your 2Chat account. Use when you need to retrieve your contact list after confirming your account connection.
Input parameters
Zero-indexed page number to retrieve.
Optional. Used to filter contacts by connected number UUID.
Number of results returned per page. Must be between 1 and 50.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
_2CHAT_LIST_WEBHOOKSList 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.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
_2CHAT_TEST_API_KEYTool to validate your API key and retrieve account info. Use when confirming credentials before performing other operations.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
No publicly available marketplace agent is found using this tool yet. There are 46 agents privately built on Nagent that already use 2chat.
Build on Nagent
Connect 2chat to any Nagent agent in minutes — no API key management, no boilerplate. Just configure and deploy.
The five questions agent builders ask before adopting a new integration.
Open the External Integrations panel inside Nagent (app.nagent.ai/externalIntegration), find 2chat, and click "Connect Now." You'll authenticate with an API key — Nagent handles credential storage and refresh automatically. Once connected, 2chat is available to any agent in your workspace.
No. Nagent provides no-code integration for every tool. Once 2chat is connected, you configure its 5 actions directly in the agent builder UI — no API calls, no boilerplate, no schema management.
Helix — Nagent's agentic agent builder — lets you drop 2chat steps into any workflow visually. Pick an action (e.g., one of those listed above), fill in the inputs (Helix knows the required vs. optional schema for each parameter), and connect it to upstream/downstream steps. Triggers run as the entry point of an agent, so when a 2chat event fires, the agent kicks off automatically.
Every 2chat action and trigger ships with a fully-typed schema — input parameters with name, type, required flag, and description, plus the output payload shape. The schemas are documented in the sections above. Helix uses these schemas to validate your configuration at build time and to type-check the data flowing between steps.
Yes. While 2chat ships with 5 pre-built communication actions, you can layer custom logic around them inside Helix — pre/post-processing steps, conditional branches, retries, or stitching 2chat together with other connected tools. For deeper customization, talk to our team about Nagent's Agentic AI Lab — forward-deployed engineers who build 2chat-based workflows tailored to your business.