---
title: "Create Workspace"
method: POST
path: "/api/workspaces"
tags: ["workspaces", "workspaces"]
---

# Create Workspace

`POST /api/workspaces`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/workspaces`
- Auth: none declared

Create a new team workspace.

The current user becomes the owner of the new workspace.
Personal workspaces are created automatically for new users.

## Request body

- WorkspaceCreate: Request to create a new workspace.
  - `name` string, required
  - `description` string, nullable
  - `slug` string, nullable

## Response `200`

Successful Response

- WorkspaceResponse: Response for a single workspace.
  - `id` integer, required
  - `type` string, required
  - `owner_user_id` integer, nullable
  - `name` string, required
  - `slug` string, nullable
  - `description` string, nullable
  - `logo_url` string, nullable
  - `billing_mode` string, nullable
  - `created_at` string, nullable
  - `updated_at` string, nullable
  - `user_role` string, nullable
  - `role` string, nullable
  - `is_default` boolean, nullable
  - `member_count` integer, nullable
  - `settings` object, nullable
  - `video_generation_enabled` boolean, nullable
  - `gmail_full_read` boolean, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
