2Chat

Learn how to use 2Chat with Composio

Overview

Enum

_2CHAT

Description

2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and automate workflows.

Authentication Details

api_key
stringRequired

Actions

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).

Action Parameters

contact_detail
arrayRequired
first_name
stringRequired
last_name
string
profile_pic_url
string

Action Response

data
object
error
string
successful
boolean
Tool to retrieve current api usage and account information. use when you need to monitor your remaining quotas before sending more requests.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Tool to list all contacts in your 2chat account. use when you need to retrieve your contact list after confirming your account connection.

Action Parameters

channel_uuid
string
page_number
integer
results_per_page
integer

Action Response

data
object
error
string
successful
boolean
Tool to list all configured webhook subscriptions. use when you need to audit or review your active whatsapp webhook subscriptions.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Tool to validate your api key and retrieve account info. use when confirming credentials before performing other operations.

Action Parameters

Action Response

data
object
error
string
successful
boolean