---
title: "Get User Spaces"
method: GET
path: "/spaces"
tags: ["Spaces"]
---

# Get User Spaces

`GET /spaces`

Get Info about the User Personal Space and all the Team Spaces the user has access to.

## Response `200`

OK

- Spaces
  - `personalSpaces` Space[]
    - `spaceId` string, uuid
    - `organizationId` string, uuid — Only present for Team Spaces
    - `ownerUsername` string — Only present for Personal Spaces
    - `spaceType` 'PERSONAL' | 'TEAM'
    - `name` string
    - `createdAt` string, date-time
    - `lastModifiedAt` string, date-time
    - `spaceSettings` SpaceSettings
      - `sharingControl` 'NO_SHARING' | 'WITHIN_SPACE' | 'WITHIN_ORGANIZATION' | 'WITH_ANYONE', required — The Sharing Control level: * `NO_SHARING`: Content within this Space cannot be shared with other users. Only those added to the Space have access to the content. * `WITHIN_SPACE`: Content within this Space can be shared with other users within the same Space. This is useful to grant higher permissions to users within the Space. * `WITHIN_ORGANIZATION`: Content within this Space can be shared with other users within the same Organization. This is useful to grant higher permissions to users within the Organization. * `WITH_ANYONE`: Content within this Space can be shared with anyone. This is the only level that allows public Projects to live within the Space.
  - `teamSpaces` Space[]
    - `spaceId` string, uuid
    - `organizationId` string, uuid — Only present for Team Spaces
    - `ownerUsername` string — Only present for Personal Spaces
    - `spaceType` 'PERSONAL' | 'TEAM'
    - `name` string
    - `createdAt` string, date-time
    - `lastModifiedAt` string, date-time
    - `spaceSettings` SpaceSettings
      - `sharingControl` 'NO_SHARING' | 'WITHIN_SPACE' | 'WITHIN_ORGANIZATION' | 'WITH_ANYONE', required — The Sharing Control level: * `NO_SHARING`: Content within this Space cannot be shared with other users. Only those added to the Space have access to the content. * `WITHIN_SPACE`: Content within this Space can be shared with other users within the same Space. This is useful to grant higher permissions to users within the Space. * `WITHIN_ORGANIZATION`: Content within this Space can be shared with other users within the same Organization. This is useful to grant higher permissions to users within the Organization. * `WITH_ANYONE`: Content within this Space can be shared with anyone. This is the only level that allows public Projects to live within the Space.

---

[API](https://skmtc.net/simscale/apis/simscale-api.md) · [All operations](https://skmtc.net/simscale/apis/simscale-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/simscale/simscale-api/revisions/53223abaceb7/schema)
