Spaces
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.
bearerAuthheader
AutorisatieBearer <token>List of spaces
application/json- response
data*array<|>curl -X GET 'https://api.tibata.ai/v1/spaces'Voorbeeldrespons
{ "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 }, { "id": "uC7htzN_KQl8wLbIgy2I5", "name": "Space 2", "slug": "space-2", "description": null, "url": "https://app.tibata.ai/o/my-org/space-2", "restricted": true }, { "id": "vD8iuaO_LRm9xMcJhz3J6", "name": "Space 3", "restricted": true } ]}