---
title: "Create a workspace"
method: POST
path: "/workspaces"
tags: ["Workspaces"]
---

# Create a workspace

`POST /workspaces`

Creates a new workspace

## Request body

- object
  - `name` string, required
  - `description` string
  - `slug` string

## Response `200`

Successful response

- object
  - `publicId` string, required
  - `name` string, required
  - `slug` string, required
  - `description` string, nullable, required
  - `plan` 'free' | 'team' | 'pro' | 'enterprise', required
  - `cardPrefix` string, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `500` — Internal server error

---

[API](https://skmtc.net/kan/apis/kan-api.md) · [All operations](https://skmtc.net/kan/apis/kan-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kan/kan-api/versions/3235f0c88e7a/schema)
