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

# Get Workspace List

> Get list of all workspaces for the current user



## OpenAPI

````yaml /docflow/en/rest-api/openapi.bundle.yaml get /api/app-api/sip/platform/v2/workspace/list
openapi: 3.0.0
info:
  title: DocFlow API
  description: >-
    DocFlow REST API, providing file upload and file processing result retrieval
    capabilities
  version: 2.8.4
servers:
  - url: https://docflow.textin.com
security:
  - ApiId: []
    SecretCode: []
paths:
  /api/app-api/sip/platform/v2/workspace/list:
    get:
      tags:
        - Workspace Management
      summary: Get Workspace List
      description: Get list of all workspaces for the current user
      operationId: listWorkspaces
      parameters:
        - name: enterprise_id
          in: query
          description: Enterprise ID
          required: true
          schema:
            type: integer
            format: int64
        - name: page
          in: query
          description: Page number
          required: false
          schema:
            type: integer
            default: 1
            example: 1
        - name: page_size
          in: query
          description: Page size
          required: false
          schema:
            type: integer
            default: 20
            example: 20
      responses:
        '200':
          description: Successfully retrieved workspace list
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/CodeMessage'
                  - type: object
                    properties:
                      result:
                        type: object
                        properties:
                          total:
                            type: integer
                            description: Total number of workspaces
                            example: 100
                          page:
                            type: integer
                            description: Current page number
                            example: 1
                          page_size:
                            type: integer
                            description: Page size
                            example: 20
                          workspaces:
                            type: array
                            items:
                              $ref: '#/components/schemas/Workspace'
components:
  schemas:
    CodeMessage:
      type: object
      properties:
        code:
          type: integer
          description: Status code
          example: 200
        msg:
          type: string
          description: Status description
      required:
        - code
        - msg
    Workspace:
      type: object
      description: Workspace
      properties:
        workspace_id:
          type: string
          description: Workspace ID (system generated)
          example: '1234567890'
        name:
          type: string
          description: Workspace name
          example: My Workspace
        description:
          type: string
          description: Workspace description
          example: This is a workspace for invoice processing
        auth_scope:
          type: integer
          description: >-
            Collaboration scope 0: Visible only to self 1: Visible to enterprise
            members
          example: 1
          enum:
            - 0
            - 1
        manage_account_id:
          type: string
          description: Workspace administrator ID
          example: admin_123456
        manage_account_name:
          type: string
          description: Workspace administrator name
          example: John Doe
        callback_url:
          type: string
          description: Callback URL
          example: https://example.com/callback
        callback_retry_time:
          type: integer
          description: Callback retry count
          example: 3
      required:
        - workspace_id
        - name
  securitySchemes:
    ApiId:
      type: apiKey
      in: header
      name: x-ti-app-id
    SecretCode:
      type: apiKey
      in: header
      name: x-ti-secret-code

````