Skip to main content
POST
Create a workspace

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Body

application/json
name
string
required

Display name; at least one letter or digit. The slug is derived from it.

Required string length: 1 - 100
Example:

"Growth team"

Response

Workspace created

id
string
name
string
slug
string
createdAt
string<date-time>
apiKey
string | null

The creator's workspace API key (oc_…), minted with the workspace.