> ## 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 phone numbers assigned to users in the organization (SuperAdmin only)

> Returns the per-user voice phone-number assignments for all users in the organization (provider, phoneNumber, isDefault, isInboundEnabled, label). Requires SUPERADMIN.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/organizations/{organizationId}/phone-numbers
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/organizations/{organizationId}/phone-numbers:
    get:
      tags:
        - Organizations
      summary: >-
        List phone numbers assigned to users in the organization (SuperAdmin
        only)
      description: >-
        Returns the per-user voice phone-number assignments for all users in the
        organization (provider, phoneNumber, isDefault, isInboundEnabled,
        label). Requires SUPERADMIN.
      operationId: get_organizations_phone_numbers
      parameters:
        - in: path
          name: organizationId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Phone number assignments returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgPhoneNumberAssignmentsResponse'
        '400':
          description: Invalid organizationId
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
        '500':
          description: Failed to list organization phone numbers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    OrgPhoneNumberAssignmentsResponse:
      type: object
      description: Returned by `GET /api/organizations/{organizationId}/phone-numbers`.
      properties:
        assignments:
          type: array
          items:
            $ref: '#/components/schemas/OrgPhoneNumberAssignment'
      required:
        - assignments
      additionalProperties: true
      example:
        assignments:
          - userId: 5f7b1c2e8a1d4e0012c3b4a6
            userName: Sam Patel
            userEmail: sam.patel@acme.example
            provider: twilio
            phoneNumber: '+12362320246'
            isDefault: true
            isInboundEnabled: true
    OrganizationErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          type: string
      additionalProperties: true
      example:
        error: Organization not found
        details: No organization exists with the provided id
    OrgPhoneNumberAssignment:
      type: object
      description: One user's phone-number assignment within an organization.
      properties:
        userId:
          type: string
        userName:
          type: string
        userEmail:
          type: string
          format: email
        provider:
          type: string
          enum:
            - twilio
            - sinch
            - textgrid
        phoneNumber:
          type: string
        isDefault:
          type: boolean
        isInboundEnabled:
          type: boolean
        label:
          type: string
      required:
        - userId
        - provider
        - phoneNumber
      additionalProperties: true
      example:
        userId: 5f7b1c2e8a1d4e0012c3b4a6
        userName: Sam Patel
        userEmail: sam.patel@acme.example
        provider: twilio
        phoneNumber: '+12362320246'
        isDefault: true
        isInboundEnabled: true
        label: Leasing team line
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````