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

# Create a new workspace

`POST /workspaces`

## Request

- Base URL: `https://task.igordudnek.com/api/v1`
- URL: `https://task.igordudnek.com/api/v1/workspaces`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `lt_access`

## Request body

- CreateWorkspaceRequest
  - `name` string, required

## Response `201`

OK

- Workspace
  - `created_at` string, date-time
  - `id` string, uuid, required
  - `name` string, required
  - `plan` string
  - `slug` string

---

[API](https://skmtc.dev/loopertask/apis/loopertask-api.md) · [All operations](https://skmtc.dev/loopertask/apis/loopertask-api/llms.txt) · [OpenAPI document](https://skmtc.dev/loopertask/apis/loopertask-api/revisions/5d9903f15162?raw)
