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

# List members

> Active members of the workspace. Needs the `calls` scope.



## OpenAPI

````yaml /openapi.json get /v1/users
openapi: 3.0.3
info:
  title: Sunnyside API
  version: '1.0'
  description: 'Read-only API for a workspace: calls, transcripts, usage and members.'
servers:
  - url: https://api.trysunnyside.com
security: []
paths:
  /v1/users:
    get:
      tags:
        - Users
      summary: List members
      description: Active members of the workspace. Needs the `calls` scope.
      operationId: listUsers
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberList'
          description: ''
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing, wrong or revoked key.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsufficientScope'
              examples:
                MissingScope:
                  value:
                    error: insufficient_scope
                    scope: transcripts
                  summary: Missing scope
          description: The key lacks the scope this endpoint needs (`insufficient_scope`).
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            More than 120 requests a minute for this key. See the Retry-After
            header.
      security:
        - BearerAuth: []
components:
  schemas:
    MemberList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Member'
      required:
        - data
    Error:
      type: object
      properties:
        error:
          type: string
          description: Machine-readable error code.
          example: not_found
        message:
          type: string
          example: No such call.
      required:
        - error
    InsufficientScope:
      type: object
      properties:
        error:
          type: string
          description: Always `insufficient_scope`.
          example: insufficient_scope
        scope:
          type: string
          description: The scope the key lacks.
          example: transcripts
      required:
        - error
        - scope
    Member:
      type: object
      properties:
        id:
          type: string
          format: uuid
          example: 58a7a0c4-26d6-531b-8450-de1b50c96ff9
        name:
          type: string
          example: Maya Patel
        email:
          type: string
          format: email
          example: maya@acme.com
        role:
          enum:
            - owner
            - admin
            - member
          type: string
          description: |-
            * `owner` - owner
            * `admin` - admin
            * `member` - member
          x-spec-enum-id: a80010272a577c1c
          example: admin
      required:
        - email
        - id
        - name
        - role
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_live_<prefix>_<secret>
      description: A workspace API key from Integrations › API keys in the web app.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.