> ## 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.

# Get organization-level Voice AI configuration

> Returns the org's AI voice provider selection (e.g. `elevenlabs`), boolean flags for whether the ElevenLabs API key / tool secret / Sinch EST credentials are configured (without leaking values), Sinch EST project/trunk identifiers, and a flattened list of all Sinch voice phone numbers across users in the org. Read access is open to any authenticated user.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/calls/voice-ai/config
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/calls/voice-ai/config:
    get:
      tags:
        - Calls
      summary: Get organization-level Voice AI configuration
      description: >-
        Returns the org's AI voice provider selection (e.g. `elevenlabs`),
        boolean flags for whether the ElevenLabs API key / tool secret / Sinch
        EST credentials are configured (without leaking values), Sinch EST
        project/trunk identifiers, and a flattened list of all Sinch voice phone
        numbers across users in the org. Read access is open to any
        authenticated user.
      operationId: get_calls_voice_ai_config
      responses:
        '200':
          description: Voice AI config + org phone numbers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallsVoiceAiConfigResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallsErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallsErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    CallsVoiceAiConfigResponse:
      type: object
      properties:
        aiVoiceProvider:
          type: string
          nullable: true
          description: e.g. `elevenlabs`. Null if not configured.
        hasApiKey:
          type: boolean
          description: True when ElevenLabs API key is set.
        hasToolSecret:
          type: boolean
          description: True when an ElevenLabs tool secret has been generated.
        hasEstCredentials:
          type: boolean
          description: True when all four Sinch EST credentials are present.
        sinchEstProjectId:
          type: string
          nullable: true
        sinchEstTrunkId:
          type: string
          nullable: true
        sinchEstTrunkDomain:
          type: string
          nullable: true
        phoneNumbers:
          type: array
          items:
            $ref: '#/components/schemas/CallsVoiceAiOrgPhoneNumber'
      additionalProperties: true
      example:
        aiVoiceProvider: elevenlabs
        hasApiKey: true
        hasToolSecret: true
        hasEstCredentials: true
        sinchEstProjectId: sinch-est-project-abc
        sinchEstTrunkId: sinch-est-trunk-xyz
        sinchEstTrunkDomain: example.sip.sinch.com
        phoneNumbers: []
    CallsErrorResponse:
      type: object
      description: >-
        Error envelope used across most calls endpoints. Some endpoints wrap a
        string error; validation endpoints (parseContractInput) return a
        structured `error` object with `code` and `details`.
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          oneOf:
            - type: string
            - type: object
              properties:
                code:
                  type: string
                message:
                  type: string
                details:
                  type: array
                  items:
                    type: object
                    additionalProperties: true
              additionalProperties: true
        code:
          type: string
          description: >-
            Stable error code on certain errors (e.g. `NUMBER_NOT_ON_TRUNK`,
            `AGENT_NOT_SYNCED`, `OUTBOUND_IN_FLIGHT`).
      additionalProperties: true
      example:
        success: false
        error: Call not found
    CallsVoiceAiOrgPhoneNumber:
      type: object
      description: >-
        A Sinch phone number from a user in the org, flattened with `userName`
        and `userId`.
      properties:
        provider:
          type: string
          enum:
            - sinch
        phoneNumber:
          type: string
        isDefault:
          type: boolean
        isInboundEnabled:
          type: boolean
        aiEnabled:
          type: boolean
        aiAgentId:
          type: string
        elevenlabsPhoneNumberId:
          type: string
        label:
          type: string
        userName:
          type: string
        userId:
          type: string
      additionalProperties: true
      example:
        provider: sinch
        phoneNumber: '+14165550100'
        isDefault: true
        isInboundEnabled: true
        aiEnabled: true
        aiAgentId: 64f0a1b2c3d4e5f6a7b8cc00
        elevenlabsPhoneNumberId: eleven-pn-abc123
        label: Main line
        userName: Alex Rep
        userId: 64f0a1b2c3d4e5f6a7b8c9d4
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````