Create Workspace
https://api-v2.crosscheck.cloud/api/v1/workspacesCreate a workspace for the current user. Workspace and plan limits apply.
Authentication
Send a valid Crosscheck session JWT in the Authorization: Bearer YOUR_SESSION_TOKEN header. Workspace endpoints use the active workspace in your session. MCP OAuth tokens are not accepted here.
Body Parameters
application/jsonA non-empty name.
Headers
AcceptJSON request and response format.
application/jsonAuthorizationA valid session JWT from Crosscheck authentication.
Bearer YOUR_SESSION_TOKENContent-TypeJSON request and response format.
application/jsonResponses
201 Created
idstring · uuid | Unique workspace identifier. |
|---|---|
namestring | Workspace name. |
avatarstring | null | Workspace avatar. |
planstring | Workspace subscription plan. |
createdBystring · uuid | Workspace creator. |
createdAt / updatedAtstring | null | ISO 8601 timestamps. |
400 Invalid request
The API returns success, error, code and statusCode. Validation errors also include details. Select this status in the example panel to inspect the shape.
401 Authentication required
The API returns success, error, code and statusCode. Validation errors also include details. Select this status in the example panel to inspect the shape.
403 Insufficient permissions
The API returns success, error, code and statusCode. Validation errors also include details. Select this status in the example panel to inspect the shape.
404 Resource not found
The API returns success, error, code and statusCode. Validation errors also include details. Select this status in the example panel to inspect the shape.
Selected fields and abbreviated examples are shown. Additional fields and error codes depend on the resource, permissions, plan and retention state.