- Docs
- Core Concepts
- Channel
Channel
A channel is a named string topic. Publishers send messages to a channel; subscribers receive messages from channels they subscribe to.
There is no public “create channel” API. Using a channel name in publish or subscribe is enough.
Examples of names
notifications
chat.lobby
orders.42.status
Use clear, hierarchical names. Keep them stable — clients must agree on the same string.
Access
Access is controlled by permissions on the API key or JWT, not by channel “types”.
Clients
// Socket (subscribe + publish)
const channel = socket.channels.get("notifications");
// REST (publish only)
const channel = rest.channels.get("notifications");
See Using Channels and Pub/Sub.
Previous
Connection Lifecycle
Next
Using Channels