Creates a new space (a top-bar section) in a project.
Creates a space and returns it.
POST
/projects/{projectId}/spacesBearer token — `Bearer dxb_live_…`.
The project ID or slug.
The space's display name.
URL slug; generated from the name if omitted.
Response
201Space created
cURL
curl --request POST \
--url https://api.doxbrix.io/v1/projects//spaces \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"slug": "<string>"
}'{ "id": "sp_01J8", "name": "Guides", "slug": "guides" }