For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
PlatformCallingAIMessagingTools
PlatformCallingAIMessagingTools
  • SMS & MMS
    • Overview
    • Character limits
    • Hosted messaging
    • MIME types
    • Optimize delivery rates
    • Platform free trial
    • The Campaign Registry
    • Toll-free verification
  • Chat
    • Overview
LogoLogoSignalWire Docs
Log inSign up
Support
On this page
  • PubSub
  • Chat
  • Frequently asked questions
Chat

Chat

Programmable, integrated, low-latency Chat APIs and SDKs

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous
Built with

The SignalWire Chat API is a flexible IP Message Bus that you can use to send and receive messages.

PubSub

The most basic chat functionality is provided in a PubSub environment, which has two main components: Channels and Messages. Messages are published to a channel and the new message event is available to any subscribers. This means the publishers and subscribers are isolated and do not need to know where the messages are coming from or being read. If this sounds like the messaging model that meets your needs, check out our PubSub service.

REST API

Create PubSub Tokens

Browser SDK

Integrate PubSub into your web app

SDK PubSub Reference

Manage subscriptions and event listeners

Chat

Chat service extends PubSub with a third main component: Members.

You can create channels, members can subscribe to those channels, and they can send attributed messages that every other subscriber will be able to see. Members can even carry state. If this model better suits your needs, Chat is for you!

REST API

Create Chat Tokens

Browser SDK

Integrate Chat features into any web app

SDK Chat Reference

Manage members, subscriptions and event listeners, and send messages to a particular channel.

Frequently asked questions

Can Chat only send and receive text messages?

Chat can be used to send and receive any JSON-serializable object.

Does Chat support group chats?

Yes! Channels are essentially group chats that members can join and exchange messages in. If you intend to create group chats that use SMS as well, please read the next frequently asked question.

Does Chat support sending/receiving via SMS?

While Chat does not support sending/receiving via SMS by default, using RELAY Realtime SDK along with our Messaging API you can add SMS support (or any other format of communication) to it!

Can we use Chat to build a chatbot?

Yes! You can use Chat along with Dialogflow to create chatbots according to your needs.

Can Chat messages be logged?

Using the SDK’s Chat API you can listen for the “message” event and log each message accordingly.