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

# Create a new workspace

`POST /workspaces`

Creates a new workspace and assigns the authenticated user as a member. Requires a Pro subscription.

## Request body

- object
  - `name` string, required — The name of the workspace

## Response `201`

Workspace created successfully

- Workspace
  - `id` string, required
  - `name` string, required
  - `index` integer, required
  - `members` User[]
    - `id` string
    - `firstName` string
    - `lastName` string
    - `fullName` string
    - `email` string
    - `avatarUrl` string, uri, nullable
    - `organizationId` string
    - `isDeleted` boolean
    - `hasTwoFactorEnabled` boolean
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `subscriptionPlan` 'FREE' | 'PRO' | 'BUSINESS'
  - `invites` object[]
    - `id` string
    - `email` string
    - `workspaceIds` string[]
  - `folders` Folder[]
    - `id` string, required
    - `name` string, required
    - `workspaceId` string, required
    - `parentId` string, nullable, required
    - `createdByUserId` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `createdByUserId` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400` — Invalid request body
- `401` — Unauthorized
- `403` — Forbidden - User doesn't have a Pro subscription

---

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