Skip to content

Create a workspace

POST
/v1/admin/workspaces
curl --request POST \
--url https://api.sealcord.com/v1/admin/workspaces \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "slug": "example" }'

Create a workspace on Free, owned by you. Only a user through the MCP server (403 forbidden for an API key). An account may own any number of workspaces; 409 slug_taken; 429 past 3 an hour or 10 a day; 503 without Redis. Creating one agrees to the Terms, as in the Console. The token keeps acting in its own workspace.

Media typeapplication/json
object
name
required
string
>= 1 characters <= 80 characters /^[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}]+$/
slug
required
string
>= 3 characters <= 48 characters /^[a-z0-9]+(-[a-z0-9]+)*$/
Examplegenerated
{
"name": "example",
"slug": "example"
}

Missing or invalid API key.

Needs scope workspaces:write.