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

# Create a new workspace

`POST /workspaces`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/workspaces`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Request body

- CreateWorkspaceInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `name` string, required: Workspace name
  - `organization_id` string: Organization ID. Omit to use the signed-in owner's active subscribed organization when available, or create a personal organization.

## Response `200`

OK

- CreateWorkspaceOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `created_at` string, required
  - `id` string, required
  - `name` string, required
  - `organization_id` string, required

## Other responses

- `402`: Payment Required
- `403`: Forbidden
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
