Channels

Overview

Messaging

Pub/sub channels for every app

Publish once and every subscriber gets the message, delivered from the nearest edge region.

chat.ts

import { Relay } from ‘@relay/client’

 

const relay = new Relay({ key: process.env.RELAY_KEY })

const room = relay.channel(‘support:4821’)

 

room.subscribe(‘message’, (msg) => render(msg))

await room.publish(‘message’, { text: ‘Hi there!’ })

Used by teams shipping in real time

Lumen

Northwind

Fieldnote

Arcadia

Quill

Monarch

What you get

Global fan-out

One publish reaches every subscriber in every region.

Ordered delivery

Messages arrive in the order they were sent, per channel.

Typed events

Name your events and subscribe only to the ones you need.

Start building in minutes

Install the SDK, open a channel and send your first message in five minutes.

All systems normal.

© 2026 Relay Labs, Inc.

All systems normal.

© 2026 Relay Labs, Inc.

All systems normal.

© 2026 Relay Labs, Inc.

Create a free website with Framer, the website builder loved by startups, designers and agencies.