> ## 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 active SMS provider for the organization

> Returns the currently-selected SMS provider for the caller's organization (or the org passed via `?organizationId=` when the caller is a SUPERADMIN). Open to any authenticated user — used by send surfaces to render readiness banners and disable the composer when no provider is configured. The response is `{ provider: "twilio" | "sinch" | "textgrid" | null }`.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/sms/providers
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/sms/providers:
    get:
      tags:
        - SMS
      summary: Get active SMS provider for the organization
      description: >-
        Returns the currently-selected SMS provider for the caller's
        organization (or the org passed via `?organizationId=` when the caller
        is a SUPERADMIN). Open to any authenticated user — used by send surfaces
        to render readiness banners and disable the composer when no provider is
        configured. The response is `{ provider: "twilio" | "sinch" | "textgrid"
        | null }`.
      operationId: get_sms_providers
      parameters:
        - in: query
          name: organizationId
          required: false
          schema:
            type: string
          description: >-
            SUPERADMIN-only override. Other roles are pinned to the org on their
            JWT and this parameter is ignored.
      responses:
        '200':
          description: Active SMS provider (or `null` if none is configured)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsActiveProviderResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsErrorResponse'
        '500':
          description: Failed to get SMS provider
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    SmsActiveProviderResponse:
      type: object
      description: Response from `GET /api/sms/providers`.
      properties:
        provider:
          nullable: true
          allOf:
            - $ref: '#/components/schemas/SmsProviderName'
          description: >-
            Active SMS provider for the organization. `null` when no provider is
            configured or selected.
      required:
        - provider
      additionalProperties: true
      example:
        provider: twilio
    SmsErrorResponse:
      type: object
      description: Error envelope for `/api/sms/*` endpoints (provider configuration).
      properties:
        error:
          type: string
        message:
          type: string
        success:
          type: boolean
          enum:
            - false
      required:
        - error
      additionalProperties: true
      example:
        error: Provider configuration not found
    SmsProviderName:
      type: string
      enum:
        - twilio
        - sinch
        - textgrid
      description: >-
        Supported SMS providers. `twilio` and `textgrid` use the
        Twilio-compatible REST API; `sinch` uses Sinch Conversation API for SMS
        and a separate MMS service.
      example: twilio
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````