Projects are the container for all Swisstools resources — API mocks, webhook inboxes, feature flags, and release notes all belong to a project. A project’sDocumentation Index
Fetch the complete documentation index at: https://docs.swisstools.dev/llms.txt
Use this file to discover all available pages before exploring further.
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
The UUID of the team.
Create Project
POST /api/teams/:teamId/projects
Creates a new project within the specified team.
Path Parameters
The UUID of the team that will own the project.
The display name of the project.
A URL-friendly identifier. Used as part of the subdomain for mock and webhook URLs. Must be unique within the team.
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
The UUID of the team.
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
The UUID of the team.
The UUID of the project to update.
Updated display name.
Updated URL-friendly slug. Changing the slug also changes the subdomain used for mocks and webhooks.
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
The UUID of the team.
The UUID of the project to delete.
Project Object
UUID that uniquely identifies the project. Use this in all API paths that accept
:projectId.UUID of the team that owns this project.
The display name of the project.
URL-friendly identifier. Combined with the team’s
referenceId to form the subdomain: <referenceId>-<slug>.swisstools.dev.Optional free-text description of the project.
ISO 8601 timestamp of when the project was created.
ISO 8601 timestamp of the last update.