Tokens

View as MarkdownOpen in Claude

Create subscriber, guest, invite, and embed tokens for Fabric authentication.

Access via client.fabric.tokens on a RestClient instance.

import { RestClient } from "@signalwire/sdk";
const client = new RestClient({
project: "your-project-id",
token: "your-api-token",
host: "your-space.signalwire.com"
});
const token = await client.fabric.tokens.createSubscriberToken({ reference: "subscriber-ref" });

Methods