REST Client

Projects

View as MarkdownOpen in Claude

List the authenticated root project and its subprojects, create and update subprojects, and rotate a project’s signing key. Every call operates only within the caller’s project tree. For API tokens on the current project, use client.project.tokens.

Access via client.projects on a RestClient instance.

from signalwire.rest import RestClient
client = RestClient(
project="your-project-id",
token="your-api-token",
host="your-space.signalwire.com",
)
sub = client.projects.create(name="Bayview Taxi - staging")
print(sub["id"], sub["subproject"])

Methods

client.projects also exposes paginate() to iterate across all pages.