Create Space
Creates a single space
bearerAuthAutorisatieBearer <token>Space to add
application/json- body
name*stringName of the space
slug?stringURL-friendly identifier for the space, unique within the organization. Auto-generated from the name if not provided.
^[a-z0-9]+(?:-[a-z0-9]+)*$description?stringShort description of the space
applyProjectDefaults?booleanWhether to create the organization's default projects inside the new space. The projects are created together with the space, so the space is never visible without them. Their names and order are copied from the organization's project settings as they are at the moment of the request, not linked to them: a later change to those settings leaves this space untouched. Defaults to false, and has no effect when the organization has defined no default projects.
falseSpace created
application/json- response
data*curl -X POST 'https://api.tibata.ai/v1/spaces' \ -H 'Content-Type: application/json' \ -d '{ "name": "Space 1", "slug": "space-1", "description": "Space 1 description", "applyProjectDefaults": true}'{ "data": { "id": "tB6gszM_JPk7vKaHfz1H4", "name": "Space 1", "slug": "space-1", "description": "Space 1 description", "url": "https://app.tibata.ai/o/my-org/space-1", "restricted": false }}List Spaces GET
Returns every Space in the organization, ordered by name. A restricted Space is listed too, with `restricted` set to `true`. A Space the token may not read, because it is restricted and the token has no role on it, is listed with only its `id`, `name` and `restricted`: a client-credentials token needs a role given to its client, a token issued for a user that user's role.
Batch Create Spaces POST
Creates multiple spaces in a single request. Every item is processed even if some fail — check each entry in the response to see which succeeded and which failed.