NAiOS IconNAiOS Logo
Volver al catálogo

2chat

_2chat

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

Acciones
5
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

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

Parámetros de entrada

  • last_namestring

    Last name of the new contact

  • first_namestringObligatorio

    First name of the new contact

  • contact_detailobject[]Obligatorio

    A list of contact detail entries; at least one entry is required

  • profile_pic_urlstring

    Publicly accessible URL of the contact's profile picture

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get API Usage Info_2CHAT_GET_API_USAGE_INFOAcción

Tool 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

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Contacts_2CHAT_LIST_CONTACTSAcción

Tool 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_numberinteger

    Zero-indexed page number to retrieve.

  • channel_uuidstring

    Optional. Used to filter contacts by connected number UUID.

  • results_per_pageinteger

    Number of results returned per page. Must be between 1 and 100.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Webhook Subscriptions_2CHAT_LIST_WEBHOOKSAcción

Tool 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

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Test API Key_2CHAT_TEST_API_KEYAcción

Tool 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

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not