PubSubResource

View as MarkdownOpen in Claude

PubSub API namespace for token creation.

Methods

Example

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