Project

View as MarkdownOpen in Claude

Manage project-level API tokens. Tokens control access to your SignalWire project and can be created, updated, and revoked.

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

1import { RestClient } from "@signalwire/sdk";
2
3const client = new RestClient({
4 project: "your-project-id",
5 token: "your-api-token",
6 host: "your-space.signalwire.com"
7});
8
9const token = await client.project.tokens.create({ name: "ci-token" });
10console.log(token.id);

Methods