Skip to main content
POST
/
api
/
admin
/
space
/
create-space
Create a Space
curl --request POST \
  --url https://{customer-tenant}.nuwacom.ai/api/admin/space/create-space \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "organizationId": "<string>",
  "userId": "<string>",
  "languages": [
    "<string>"
  ],
  "spaceId": "<string>"
}
'
{
  "spaceId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
title
string
required

The human-readable space title that will appear throughout the workspace (e.g., "Customer Success" or "Sales").

organizationId
string
required

The ID of the organization the space should be created in; Typically one organization for each instance and must already exist in the database.

userId
string
required

The ID of the user requesting space creation; used for permission checks and ownership.

languages
string[]
required

A list of locale codes to be supported in the new space (e.g., "en-US", "de-DE"). Right now, we support the following languages: "en-US", "de-DE", "fr-FR".

spaceId
string

A unique identifier for the space. If not provided, a random ID will be generated..

Response

200 - application/json

Space was created successfully

spaceId
string
required

The unique identifier of the newly created space.