About our Chat API

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

Chat is an extension of our PubSub feature which has two main components:

  • Channels
  • Messages

In a PubSub environment, 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!

  • The REST API allows you to create chat tokens.
  • The Browser SDK will help you integrate PubSub into your web app.
  • The Server-side RELAY Realtime SDK allows you to manage subscriptions and listeners.

Our Chat feature adds another 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!

  • The REST API allows you to create chat tokens.
  • The Browser SDK allows you to integrate Chat features into any web app.
  • The RELAY Realtime Server SDK allows you to keep track of Chat events, manage members/subscriptions, and send messages to a particular channel.