---
title: "create workspace"
method: POST
path: "/workspaces/create"
tags: ["workspace"]
---

# create workspace

`POST /workspaces/create`

## Request body

- CreateWorkspace
  - `id` string, required
  - `name` string, required
  - `username` string
  - `color` string
  - `error_handler_fallback_to_instance_alerts` boolean — Report failed jobs to the instance critical alert channels when no workspace error handler is set. Not available on cloud or on fork workspaces.

## Response `201`

token created

---

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