Projects

View as MarkdownOpen in Claude

List, create, update, and delete the projects in your project tree, and rotate a project’s signing key. All operations are scoped to the authenticated root project and its subprojects. For API tokens of the current project, use the singular client.project.tokens instead.

Access via client.projects 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 project = await client.projects.create({ name: "Bayview Taxi Staging" });
console.log(project.id);

Methods