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

# List organization members



## OpenAPI

````yaml /api-reference/openapi.json get /v1/members
openapi: 3.1.0
info:
  title: microsandbox cloud API
  description: >-
    REST API for microsandbox cloud: sandbox and volume lifecycle, organization
    context, quotas, usage, and audit events, authenticated with an organization
    API key.
  version: 0.1.0
servers:
  - url: https://api.microsandbox.dev
security:
  - api_key: []
paths:
  /v1/members:
    get:
      tags:
        - Members
      summary: List organization members
      operationId: list_members
      parameters:
        - name: cursor
          in: query
          description: Pagination cursor
          required: false
          schema:
            type: string
        - name: limit
          in: query
          description: Page size (default 20, max 100)
          required: false
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Paginated list of members
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedMemberResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: invalid_api_key
                  message: unauthorized
                  details: null
      security:
        - api_key: []
components:
  schemas:
    PaginatedMemberResponse:
      type: object
      description: Paginated list of organization members.
      required:
        - data
        - has_more
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/OrgMemberResponse'
        has_more:
          type: boolean
        next_cursor:
          type:
            - string
            - 'null'
    ErrorResponse:
      type: object
      description: Error envelope returned by every non-2xx response.
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Stable machine-readable error code, e.g. `invalid_api_key`.
            message:
              type: string
              description: Human-readable description of the error.
            details:
              type:
                - object
                - 'null'
              description: Optional structured context for the error.
    OrgMemberResponse:
      type: object
      description: Member with joined user profile data - repository read view.
      required:
        - id
        - user_id
        - email
        - role
        - joined_at
      properties:
        avatar_url:
          type:
            - string
            - 'null'
        display_name:
          type:
            - string
            - 'null'
        email:
          type: string
        id:
          type: string
          format: uuid
        joined_at:
          type: string
          format: date-time
        role:
          $ref: '#/components/schemas/OrgRole'
        user_id:
          type: string
          format: uuid
    OrgRole:
      type: string
      description: Organization membership role.
      enum:
        - owner
        - admin
        - member
        - viewer
  securitySchemes:
    api_key:
      type: http
      scheme: bearer
      description: Organization API key (msb_…) - org-scoped programmatic access.

````