Skip to main content
POST
/
v1
/
workspaces
Create a workspace
curl --request POST \
  --url https://api.usezombie.com/v1/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Body

application/json
name
string

Human-readable workspace name. Must be unique within the tenant. If omitted, the server assigns a Heroku-style name (e.g. jolly-harbor-482).

Response

Workspace created

workspace_id
string<uuid>
required

Unique workspace identifier

name
string
required

Human-readable workspace name. Always present — caller-supplied or server-generated Heroku-style.

request_id
string<uuid>
required

Unique request identifier