---
title: "Create Workspace"
method: POST
path: "/public/v1/workspaces"
tags: ["User and Workspace management"]
---

# Create Workspace

`POST /public/v1/workspaces`

Create a workspace in your organization.

- You need to be an Org Admin to create a workspace.
- You will be added to the new workspace with an Admin role.

## Request body

- CreateWorkspaceRequest
  - `name` string, required — A name for the new workspace.
  - `icon_url` string, uri — Workspace icon will be displayed in the application and is not visible to your customers. Icon should have square proportions. Supported formats: JPEG, PNG, GIF, WEBP. Max size: 5 MB
  - `settings` object — Optional workspace settings applied at creation time.
    - `allow_join_by_domain` boolean — Allow anyone at your domain to join this workspace upon request.
    - `allow_request_access` boolean — Allow anyone to request access to documents.

## Response `201`

OK

- CreateWorkspaceResponse
  - `id` string
  - `name` string

## Other responses

- `400` — Bad Request
- `401` — Authentication error
- `403` — Permission error
- `404` — Not found
- `429` — Too Many Requests

---

[API](https://skmtc.net/pandadoc/apis/pandadoc-public-api.md) · [All operations](https://skmtc.net/pandadoc/apis/pandadoc-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pandadoc/pandadoc-public-api/versions/0c2b70be3fb0/schema)
