PubSub

View as MarkdownOpen in Claude

PubSub API namespace for token creation.

Methods

Example

import { RestClient } from "@signalwire/sdk";
const client = new RestClient();
const result = await client.pubsub.createToken({ channels: ['notifications'] });