> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skortorent.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Accessible Workspaces

> Lists workspaces available to the authenticated landlord. Each
`workspace_id` is the public workspace UUID required by property
requests, not the workspace MongoDB `_id`.




## OpenAPI

````yaml /property-management-api-reference/openapi.yaml get /workspaces
openapi: 3.1.0
info:
  title: SKOR Property Management API
  version: 1.0.0
  description: |
    The Property Management API is a standalone landlord API for managing
    accessible workspaces and their properties.

    The Modular API and Property Management API use the same API-key model and
    shared token endpoint.

    All responses use the SKOR v1 response envelope. Successful responses
    contain `status`, `message`, and `data`. Validation errors can also contain
    an `errors` array with field-specific messages.
servers:
  - url: https://api.skortorent.com/api/v1/property-management
    description: Live
  - url: https://dev-api.skortorent.com/api/v1/property-management
    description: Sandbox
security:
  - PropertyManagementBearer: []
tags:
  - name: Workspace
    description: Create and list workspaces for the authenticated landlord.
  - name: Property
    description: Create, list, retrieve, update, and delete properties.
paths:
  /workspaces:
    get:
      tags:
        - Workspace
      summary: List Accessible Workspaces
      description: |
        Lists workspaces available to the authenticated landlord. Each
        `workspace_id` is the public workspace UUID required by property
        requests, not the workspace MongoDB `_id`.
      operationId: listAccessibleWorkspaces
      responses:
        '200':
          description: Workspaces retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceListSuccessResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    WorkspaceListSuccessResponse:
      type: object
      required:
        - status
        - message
        - data
      properties:
        status:
          type: string
          const: success
        message:
          type: string
          example: Workspaces retrieved successfully
        data:
          $ref: '#/components/schemas/WorkspaceListData'
    WorkspaceListData:
      type: object
      required:
        - workspaces
      properties:
        workspaces:
          type: array
          items:
            $ref: '#/components/schemas/Workspace'
    ErrorResponse:
      type: object
      required:
        - status
        - message
      properties:
        status:
          type: string
          const: error
        message:
          type: string
          example: Request validation failed
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ValidationIssue'
    Workspace:
      type: object
      required:
        - workspace_id
        - workspace_name
      properties:
        workspace_id:
          type: string
          description: Public workspace UUID, not the MongoDB `_id`.
          example: Ab12Cd
        workspace_name:
          type: string
          example: Brand new workspace
    ValidationIssue:
      type: object
      required:
        - field
        - message
      properties:
        field:
          type: string
          description: Request field that failed validation.
          example: properties.0.street
        message:
          type: string
          description: Human-readable validation message.
          example: properties.0.street is required
  responses:
    Unauthorized:
      description: >-
        Authentication is missing, invalid, expired, or uses the wrong token
        type.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ServerError:
      description: An unexpected server error occurred.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    PropertyManagementBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |
        Generate a shared token via `/authenticate/token`, then pass it as
        `Authorization: Bearer <token>`.

````