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.

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.project.tokens.create({ name: "ci-token" });
console.log(token.id);

Methods