Add 2Chat to Your Product

Give your customers access to 2Chat from within your product & agents. Use viaSocket to manage authentication, execute actions, and receive events from connected accounts.

Paste it into Cursor, Claude Code or Codex.
Integration Infrastructure

Everything You Need to Manage 2Chat Integrations

Add 2Chat to your product & agents today. viaSocket runs the infrastructure; your AI coding assistant does the setup.

Managed Authentication

Let your customers connect their 2Chat accounts without building and maintaining OAuth flows yourself.

Customer-Specific Connections

Manage separate 2Chat connections for each customer in your product & agents.

Actions, Triggers and Webhooks

Execute supported 2Chat actions and receive events through a consistent integration interface.

Managed Data Mapping

Map data between your product & agents and the formats expected by 2Chat.

Monitoring and Debugging

Track executions, inspect errors, and troubleshoot integration issues.

Your Product & Agents, Your Experience

Offer 2Chat integrations under your own branding and within your existing product & agents.

Available Actions and Triggers for 2Chat

What You Can Do with 2Chat

Explore available actions to let your product & agents interact with 2Chat.

  • Create ContactCreates a new contact with phone, WhatsApp, email, or address details (at least one required).
  • Create WhatsApp ChannelCreate a new WhatsApp channel by providing phone number and friendly name.
  • List All ContactsRetrieve all contacts, with optional page number and results per page.
  • List WhatsApp NumbersRetrieve all WhatsApp numbers registered in your 2Chat account.
  • Get WhatsApp MessagesRetrieve WhatsApp messages for a selected WhatsApp number; optionally filter by contact and page.
  • Check Phone Number on WhatsAppChecks whether a number is registered on WhatsApp using your sender number or optional extra information.
  • Get WhatsApp GroupsRetrieve all WhatsApp groups for a specified WhatsApp number.
  • Set WhatsApp AboutSets the About text on your 2Chat-connected WhatsApp number.
  • Set WhatsApp Profile PictureSet the profile picture for a selected WhatsApp number using an image URL.

Respond to Events in 2Chat

Use triggers to let your product & agents respond to events from connected 2Chat accounts.

  • New WhatsApp MessageRuns when a new WhatsApp message is received for a selected WhatsApp number.
  • New WhatsApp Message SentRuns when a new WhatsApp message is sent in 2Chat.
  • New WhatsApp MessageRuns when a new WhatsApp message is sent or received.
  • New WhatsApp Call ReceivedRuns when a new WhatsApp call is received on a chosen number.
  • New WhatsApp ConversationRuns when a new WhatsApp conversation starts on a chosen 2Chat number.
  • New Message ReactionRuns when someone reacts to a message.
  • Message EditedRuns when a message is edited in 2Chat, including edits in group conversations.
  • WhatsApp Group Message ReceivedRuns when a new WhatsApp group message is received
  • New WhatsApp Group Message ReactionRuns when new WhatsApp group message reaction occurs for a chosen WhatsApp number.

About 2Chat

2Chat is a conversational commerce automation tool for WhatsApp, Instagram, Messenger, and SMS.

Learn more
viaSocket

About viaSocket

Connect 2,300+ apps to your product & agents with one prompt. Auth, events and actions handled. Free to start.

Learn more
Frequently Asked Questions

FAQs about adding 2Chat to your product & agents

Find answers to common questions about integrating 2Chat into your product & agents, including authentication, supported actions, triggers, and implementation.

How can I integrate 2Chat into my product & agents?

You can use viaSocket to add 2Chat integration to your product & agents. viaSocket provides APIs, managed authentication, actions, and triggers to help you build integration features for your customers.

Do I need to build and maintain the integration infrastructure myself?

No. viaSocket manages the integration infrastructure, including authentication, customer connections, and supported actions and triggers.

Can my customers connect their own 2Chat accounts?

Yes. viaSocket supports customer-specific connections, allowing each customer to authorize their own 2Chat account.

Can I offer 2Chat integration under my own branding?

Yes. You can provide the integration experience under your own branding and within the existing interface of your product & agents.

Can I connect 2Chat with other apps?

Yes. viaSocket supports integrations with 2,300+ apps, allowing your product & agents to work with 2Chat and other supported services.

How do I execute actions in 2Chat?

Use viaSocket's supported actions and APIs to perform operations in connected 2Chat accounts. Available operations depend on the integration's supported capabilities and the permissions granted.

Can my product & agents respond to events from 2Chat?

Yes. You can use supported triggers and webhooks to receive events from 2Chat and respond within your product & agents.

Bring 2Chat Into Your Product & Agents

Paste it into Cursor, Claude Code or Codex.
  • Managed auth
  • Per-customer connections
  • Actions & triggers
  • Data mapping
  • Monitoring & logs
  • Your branding