REST Client

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.

from signalwire.rest import RestClient
client = RestClient(
project="your-project-id",
token="your-api-token",
host="your-space.signalwire.com",
)
token = client.project.tokens.create(name="ci-token")
print(token["id"])

Methods