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

# List users for a source organization

> Helper endpoint used by the snapshot creation UI. Returns users that belong to the given organization. Admins may only request users from their own organization.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/user-snapshots/orgs/{orgId}/users
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/user-snapshots/orgs/{orgId}/users:
    get:
      tags:
        - User Snapshots
      summary: List users for a source organization
      description: >-
        Helper endpoint used by the snapshot creation UI. Returns users that
        belong to the given organization. Admins may only request users from
        their own organization.
      operationId: get_user_snapshot_org_users
      parameters:
        - in: path
          name: orgId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Users returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserSnapshotOrgUsersResponse'
        '400':
          description: Organization id is required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserSnapshotErrorResponse'
        '403':
          description: Forbidden – cannot view users from another organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserSnapshotErrorResponse'
        '500':
          description: Failed to retrieve users
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserSnapshotErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    UserSnapshotOrgUsersResponse:
      type: object
      properties:
        users:
          type: array
          items:
            $ref: '#/components/schemas/UserSnapshotOrgUserItem'
      required:
        - users
      additionalProperties: true
      example:
        users:
          - _id: 64ee9a8b1e7f2a0011223399
            fullName: Alex Rep
            email: alex@acme.example
            accessRole: DEPARTMENT_HEAD
          - _id: 64ee9a8b1e7f2a001122339a
            fullName: Sam Closer
            email: sam@acme.example
            accessRole: SALES_REP
    UserSnapshotErrorResponse:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        details: {}
      additionalProperties: true
      example:
        error: Snapshot not found
        message: No snapshot exists with the given id
    UserSnapshotOrgUserItem:
      type: object
      properties:
        _id:
          type: string
        fullName:
          type: string
          nullable: true
        email:
          type: string
          nullable: true
        accessRole:
          type: string
          nullable: true
      additionalProperties: true
      example:
        _id: 64ee9a8b1e7f2a0011223399
        fullName: Alex Rep
        email: alex@acme.example
        accessRole: DEPARTMENT_HEAD
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````