slug and its team’s referenceId together form the subdomain used to serve mock and webhook traffic.
All project endpoints require session authentication. See Authentication for details.
List Projects
GET /api/teams/:teamId/projects
Returns all projects that belong to the specified team.
Path Parameters
string
required
The UUID of the team.
Create Project
POST /api/teams/:teamId/projects
Creates a new project within the specified team.
Path Parameters
string
required
The UUID of the team that will own the project.
string
required
The display name of the project.
string
required
A URL-friendly identifier. Used as part of the subdomain for mock and webhook URLs. Must be unique within the team.
string
An optional description of the project.
201 Created
Get Project
GET /api/teams/:teamId/projects/:projectId
Returns a single project by its ID.
Path Parameters
string
required
The UUID of the team.
string
required
The UUID of the project.
Update Project
PUT /api/teams/:teamId/projects/:projectId
Updates the name, slug, or description of an existing project.
Path Parameters
string
required
The UUID of the team.
string
required
The UUID of the project to update.
string
Updated display name.
string
Updated URL-friendly slug. Changing the slug also changes the subdomain used for mocks and webhooks.
string
Updated description.
Delete Project
DELETE /api/teams/:teamId/projects/:projectId
Permanently deletes a project and all of its resources — mocks, webhooks, feature flags, API keys, and release notes are all removed. This action cannot be undone.
Path Parameters
string
required
The UUID of the team.
string
required
The UUID of the project to delete.
Project Object
string
UUID that uniquely identifies the project. Use this in all API paths that accept
:projectId.string
UUID of the team that owns this project.
string
The display name of the project.
string
URL-friendly identifier. Combined with the team’s
referenceId to form the subdomain: <referenceId>-<slug>.swisstools.dev.string
Optional free-text description of the project.
string
ISO 8601 timestamp of when the project was created.
string
ISO 8601 timestamp of the last update.