Skip to main content
Teams are the top-level organizational unit in Swisstools. Every account has at least one team — a personal team provisioned automatically on signup. You can also belong to additional shared teams. All projects, mocks, webhooks, and feature flags are owned by a team through a project. All team endpoints require a valid session cookie. See Authentication for details.

List Teams

GET /api/teams Returns all teams that the authenticated user belongs to. Request
Response

Get Team

GET /api/teams/:teamId Returns a single team by its ID. Path Parameters
string
required
The UUID of the team.
Request
Response

Team Object

string
UUID that uniquely identifies the team. Use this in all API paths that accept :teamId.
string
An 8-character alphanumeric identifier used as the subdomain prefix for mock and webhook URLs (e.g., aB3cD4eF-my-project.swisstools.dev).
string
The display name of the team.
string
A URL-friendly version of the team name. Unique across all teams.
boolean
true if this is the auto-created personal team for the user’s account. Personal teams cannot be deleted.
string
ISO 8601 timestamp of when the team was created.
string
ISO 8601 timestamp of the last update.