Skip to content
Changelog

Report a bug

2chat integration: operations for AI agents

2chat connects to Type.com as an integration. This page lists the 86 operations documented for Claude and Codex in Type.com: 44 read, 23 write, 19 destructive.

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

Categories: Email & Messaging

How to connect 2chat to Type.com

Access
Organization connection: one shared account for the workspace.

To add the connection, follow the steps in Space connections.

Documented operations

86 operations. Your connection's permissions determine which operations are available. API references describe the vendor surface; they do not expand your connection's credentials or access.

86 operations listed.

Voice SDK

  • Write

    Create a Voice SDK access token

    Creates a short-lived token that lets a browser use the 2Chat Voice SDK without exposing the API key.

    POST /open/sdk/access-token

Users

  • Read

    List account users

    Lists the active users on the 2Chat account with their names and emails.

    GET /open/users

Contacts

  • Read

    List contacts

    Lists all contacts on the account.

    GET /open/contacts

  • Read

    Get a contact

    Returns a single contact.

    GET /open/contacts/{contact-uuid}

  • Read

    Search contacts

    Searches contacts by a text query.

    GET /open/contacts/search

  • Write

    Create a contact

    Creates a new contact.

    POST /open/contacts

  • Destructive

    Update a contact

    Replaces the details of an existing contact.

    PUT /open/contacts/{contact-uuid}

  • Destructive

    Delete a contact

    Deletes a contact.

    DELETE /open/contacts/{contact-uuid}

Webhooks

  • Read

    List webhooks

    Lists all webhook subscriptions on the account.

    GET /open/webhooks

  • Read

    List webhooks for a channel

    Lists webhook subscriptions for a specific channel.

    GET /open/webhooks/channel/{channel-uuid}

  • Write

    Subscribe to a webhook event

    Registers a URL to receive a chosen event, such as new WhatsApp, WABA, or call events.

    POST /open/webhooks/subscribe/{event-name}

  • Destructive

    Delete a webhook subscription

    Removes a webhook subscription.

    DELETE /open/webhooks/{webhook-uuid}

WhatsApp channels

  • Read

    List WhatsApp numbers

    Lists the WhatsApp numbers connected to the account.

    GET /open/whatsapp/get-numbers

  • Read

    Get a WhatsApp number

    Returns details for one connected WhatsApp number.

    GET /open/whatsapp/channel/{channel-uuid}

  • Read

    Get channel status

    Returns the connection status of a WhatsApp channel.

    GET /open/whatsapp/channel/{channel-uuid}/status

  • Write

    Create a QR code connection

    Creates a new WhatsApp connection that is linked by scanning a QR code.

    POST /open/whatsapp/channel/create

  • Write

    Connect WhatsApp channel

    Connect an existing WhatsApp channel using the connect alternative documented by Execute Channel Command.

    POST /open/whatsapp/channel/{channel-uuid}/connect

  • Destructive

    Delete a channel

    Deletes a WhatsApp connection.

    DELETE /open/whatsapp/channel/{channel-uuid}

WhatsApp messages

  • Read

    Get messages for a number

    Returns the messages on a connected WhatsApp number.

    GET /open/whatsapp/messages/{from_number}

  • Read

    Get conversation messages

    Returns the messages exchanged between a connected number and a contact.

    GET /open/whatsapp/messages/{from_number}/{to_number}

  • Read

    List conversations

    Lists the conversations on a WhatsApp channel.

    GET /open/whatsapp/conversations/{channel-uuid}

  • Read

    Get a message

    Returns a single WhatsApp message.

    GET /open/whatsapp/message/{session-key}/{message-uuid}

  • Read

    Get group messages

    Returns the messages from a WhatsApp group.

    GET /open/whatsapp/groups/messages/{group-uuid}

  • Write

    Send a WhatsApp message

    Sends a WhatsApp message, with optional media, to a contact.

    POST /open/whatsapp/send-message

  • Write

    Send a group message

    Sends a message to a WhatsApp group.

    POST /open/whatsapp/send-group-message

  • Destructive

    Delete a message

    Deletes a WhatsApp message.

    DELETE /open/whatsapp/message/{session-key}/{message-uuid}

WhatsApp account

  • Read

    Check a number

    Checks whether a phone number has a WhatsApp account.

    GET /open/whatsapp/check-number/{your-number}/{number-to-check}

  • Write

    Post a text status

    Posts a WhatsApp text status update, with optional styling.

    POST /open/whatsapp/set-text-status/{phone_number}

  • Write

    Post an image status

    Posts a WhatsApp image status update.

    POST /open/whatsapp/set-image-status/{phone_number}

  • Write

    Post a video status

    Posts a WhatsApp video status update.

    POST /open/whatsapp/set-video-status/{phone_number}

  • Destructive

    Set profile picture

    Replaces the WhatsApp profile picture of a connected number.

    POST /open/whatsapp/set-profile-picture/{phone_number}

  • Destructive

    Set profile status

    Replaces the "about" status text of a connected number.

    POST /open/whatsapp/set-status/{phone_number}

WhatsApp groups

  • Read

    List groups

    Lists the WhatsApp groups for a connected number.

    GET /open/whatsapp/groups/{phone_number}

  • Read

    Get group details and participants

    Returns a group's details and its participants.

    GET /open/whatsapp/group/{group-uuid}

  • Write

    Create a group

    Creates a new WhatsApp group.

    POST /open/whatsapp/group/create

  • Write

    Add group participants

    Adds one or more people to a WhatsApp group.

    POST /open/whatsapp/group/{group-uuid}/add-participant

  • Write

    Promote participants to admin

    Makes one or more group participants admins.

    POST /open/whatsapp/group/{group-uuid}/promote-participant

  • Write

    Demote admins

    Turns one or more group admins back into regular participants.

    POST /open/whatsapp/group/{group-uuid}/demote-participant

  • Destructive

    Remove group participants

    Removes one or more people from a WhatsApp group.

    POST /open/whatsapp/group/{group-uuid}/remove-participant

  • Destructive

    Set group picture

    Replaces a group's profile picture.

    POST /open/whatsapp/group/{group-uuid}/set-picture

  • Destructive

    Set group description

    Replaces a group's description.

    POST /open/whatsapp/group/{group-uuid}/set-description

WhatsApp catalog

  • Read

    List catalog products

    Lists the products in the WhatsApp catalog.

    GET /open/whatsapp/catalog/products

  • Read

    List catalog collections

    Lists the collections in the catalog.

    GET /open/whatsapp/catalog/collections

  • Write

    Add a catalog product

    Adds a product to the WhatsApp Business catalog.

    POST /open/whatsapp/catalog/product

  • Write

    Add product images

    Adds images to a catalog product.

    POST /open/whatsapp/catalog/product/image/{product-id}

  • Write

    Add a catalog collection

    Creates a collection of catalog products.

    POST /open/whatsapp/catalog/collection

  • Destructive

    Edit a catalog product

    Replaces the details of a catalog product.

    PUT /open/whatsapp/catalog/product/{product-id}

  • Destructive

    Delete a catalog product

    Deletes a product from the catalog.

    DELETE /open/whatsapp/catalog/product/{product-id}

  • Destructive

    Delete a product image

    Removes one image from a catalog product.

    DELETE /open/whatsapp/catalog/product/image/{product-id}/{image-index}

  • Destructive

    Edit a catalog collection

    Replaces the details of a catalog collection.

    PUT /open/whatsapp/catalog/collection/{collection-id}

  • Destructive

    Delete a catalog collection

    Deletes a catalog collection.

    DELETE /open/whatsapp/catalog/collection/{collection-id}

WhatsApp Business API

  • Read

    List WABA templates

    Lists the message templates for a WhatsApp Business number.

    GET /open/waba/templates

  • Read

    Get a WABA template

    Returns one template with its approval status, required variables, and an example payload.

    GET /open/waba/templates/{template_uuid}

  • Read

    Check the conversation window

    Checks whether the 24-hour customer service window is open with a contact.

    GET /open/waba/conversation-window/{from_number}/{to_number}

  • Read

    Get a WABA number

    Returns full details of a WhatsApp Business number.

    GET /waba/numbers/{waba_uuid}

  • Read

    Get WABA messages for a number

    Returns the messages on a WhatsApp Business number, newest first, with paging.

    GET /open/waba/messages/{from_number}

  • Read

    Get WABA conversation messages

    Returns the conversation between a WhatsApp Business number and one contact.

    GET /open/waba/messages/{from_number}/{to_number}

  • Read

    Get a WABA message

    Returns one WhatsApp Business message with its delivery status.

    GET /open/waba/message/{session_key}/{message_uuid}

  • Read

    List WABA conversations

    Lists a WhatsApp Business channel's conversations, optionally filtered by phone number.

    GET /open/waba/conversations/{channel_uuid}

  • Write

    Send a WABA message

    Sends a WhatsApp Business API message, either an approved template or a session text message.

    POST /open/waba/send-message

  • Write

    Sync WABA templates

    Starts a background sync of message templates from Meta.

    POST /open/waba/templates/sync

  • Write

    Create a WABA template

    Creates a message template and submits it to Meta for review.

    POST /open/waba/templates

  • Destructive

    Delete a WABA template

    Deletes a template and all its language variants.

    DELETE /open/waba/templates/{template_uuid}

SMS

  • Read

    List SMS channels

    Lists the SMS numbers connected to the account.

    GET /open/sms/channels

  • Read

    Get an SMS channel

    Returns the details and status of one SMS channel.

    GET /open/sms/channel/{channel_uuid}

  • Read

    List SMS conversations

    Lists the contacts on an SMS channel with their latest message.

    GET /open/sms/conversations/{channel_uuid}

  • Read

    Get SMS messages with a contact

    Returns the inbound and outbound SMS thread with a contact.

    GET /open/sms/messages/{channel_uuid}/{contact_number}

  • Read

    Get an SMS message

    Returns one SMS message.

    GET /open/sms/message/{message_uuid}

  • Write

    Send an SMS

    Sends an SMS text message to a phone number.

    POST /open/sms/send

Numbers

  • Read

    List number regions

    Lists the regions where numbers are available for a country.

    GET /open/numbers/regions

  • Read

    List number cities

    Lists the cities where numbers are available for a country.

    GET /open/numbers/cities

  • Read

    List number types

    Lists the available phone number (DID) types.

    GET /open/numbers/did-types

  • Read

    Get number requirements

    Returns the regulatory requirements for buying numbers in a country.

    GET /open/numbers/requirements

  • Read

    Search number groups

    Searches groups of numbers available to purchase.

    GET /open/numbers/groups

  • Read

    List available numbers

    Lists the specific numbers available within a number group.

    GET /open/numbers/available

  • Read

    List reservations

    Lists active number reservations.

    GET /open/numbers/reservations

  • Write

    Reserve a number

    Reserves a number before purchasing it.

    POST /open/numbers/reservations

  • Write

    Purchase numbers

    Purchases reserved numbers.

    POST /open/numbers/purchase

  • Destructive

    Cancel a reservation

    Cancels a number reservation.

    DELETE /open/numbers/reservations/{uuid}

  • Destructive

    Delete a virtual number

    Deletes a virtual phone number from the account.

    DELETE /open/voip/virtual-numbers/{uuid}

Phone calls

  • Read

    List virtual numbers

    Lists the virtual phone numbers on the account.

    GET /open/voip/virtual-numbers

  • Read

    List caller IDs

    Lists the caller IDs available for outbound calls.

    GET /open/voip/caller-ids

  • Read

    Get call history

    Returns call detail records, including costs.

    GET /open/voip/call-history

  • Read

    Get call details

    Returns details of a specific call.

    GET /open/voip/call/{call_uuid}

  • Read

    Get estimated call price

    Returns the estimated per-minute price for calling a destination.

    GET /open/voip/estimated-call-price/{phone-number}

Channels

  • Destructive

    Disconnect WhatsApp channel

    Disconnect an existing WhatsApp channel using the disconnect alternative documented by Execute Channel Command.

    POST /open/whatsapp/channel/{channel-uuid}/disconnect

See How connections work for access and permissions, or browse all integrations.

Reference date: October 28, 2026. 2chat API docs.