2chat
_2chat2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and automate workflows.
Acciones disponibles (5)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create Contact_2CHAT_CREATE_CONTACTAcciónTool 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).
_2CHAT_CREATE_CONTACTAcciónTool 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).
Parámetros de entrada
last_namestringLast name of the new contact
first_namestringObligatorioFirst name of the new contact
contact_detailobject[]ObligatorioA list of contact detail entries; at least one entry is required
profile_pic_urlstringPublicly accessible URL of the contact's profile picture
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API Usage Info_2CHAT_GET_API_USAGE_INFOAcciónTool to retrieve current api usage and account information. use when you need to monitor your remaining quotas before sending more requests.
_2CHAT_GET_API_USAGE_INFOAcciónTool to retrieve current api usage and account information. use when you need to monitor your remaining quotas before sending more requests.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Contacts_2CHAT_LIST_CONTACTSAcciónTool to list all contacts in your 2chat account. use when you need to retrieve your contact list after confirming your account connection.
_2CHAT_LIST_CONTACTSAcciónTool to list all contacts in your 2chat account. use when you need to retrieve your contact list after confirming your account connection.
Parámetros de entrada
page_numberintegerZero-indexed page number to retrieve.
channel_uuidstringOptional. Used to filter contacts by connected number UUID.
results_per_pageintegerNumber of results returned per page. Must be between 1 and 100.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Webhook Subscriptions_2CHAT_LIST_WEBHOOKSAcciónTool to list all configured webhook subscriptions. use when you need to audit or review your active whatsapp webhook subscriptions.
_2CHAT_LIST_WEBHOOKSAcciónTool to list all configured webhook subscriptions. use when you need to audit or review your active whatsapp webhook subscriptions.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Test API Key_2CHAT_TEST_API_KEYAcciónTool to validate your api key and retrieve account info. use when confirming credentials before performing other operations.
_2CHAT_TEST_API_KEYAcciónTool to validate your api key and retrieve account info. use when confirming credentials before performing other operations.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not