Skip to main content
POST
/
worlds
Create a world (default namespace)
curl --request POST \
  --url https://api.wazoo.dev/worlds \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "slug": "<string>",
  "namespace": "<string>",
  "label": "<string>",
  "description": "<string>"
}
'
{
  "slug": "<string>",
  "createdAt": 123,
  "updatedAt": 123,
  "namespace": "<string>",
  "label": "<string>",
  "description": "<string>",
  "deletedAt": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
slug
string
required
namespace
string

Optional in body; the path namespace wins for /namespaces/... routes. The reserved _ value is rejected here.

label
string
description
string | null

Response

Created

slug
string
required
createdAt
number
required
updatedAt
number
required
namespace
string

Parent namespace for this world in multitenancy contexts.

label
string
description
string | null
deletedAt
number | null