Skip to content
Pile
Esc
navigateopen⌘Jpreview

Create workspace

POST/workspaces
Request body
application/json
namestringrequired
min length 1
slugstringrequired
min length 1
keystring
Responses
201Workspace created
idstringrequired
namestringrequired
slugstringrequired
keystring | nullrequired
ownerIdstringrequired
createdAtstringrequired
updatedAtstringrequired
Try it
Server
Bodyapplication/json
Request
curl -X POST "/workspaces" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "slug": "string",
  "key": "string"
}'
Response
{
  "id": "string",
  "name": "string",
  "slug": "string",
  "key": "string",
  "ownerId": "string",
  "createdAt": "string",
  "updatedAt": "string"
}