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

# Register a community STT engine

> Register a WebSocket speech-to-text engine. The engine starts at `status: draft` and cannot serve other organizations' traffic until an admin approves it (your own organization can try it with its own key meanwhile). It is `visibility: private` unless you set `public`: a private engine can be used only by your organization, a public one by any organization once it is `active`. See the [Community STT engines guide](/docs/voice/stt/community-engines) for the full review flow.

`websocket_url` must be `wss://` with a real host; a plain `ws://` URL is rejected, and so is a credential embedded in it. Callers bring their own key for your engine: Telnyx stores none, so there is nothing to register here. The engine needs at least one `models` entry.



## OpenAPI

````yaml /openapi/source/external/community-stt-engines/community-stt-engines.json post /stt_integrations
openapi: 3.1.0
info:
  version: 2.0.0
  title: Telnyx API
  x-latency-category: responsive
  x-endpoint-cost: light
  description: SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
  license:
    name: MIT
    url: https://github.com/openai/openai-openapi/blob/master/LICENSE
  contact:
    email: support@telnyx.com
servers:
  - url: https://api.telnyx.com/v2
    description: Version 2.0.0 of the Telnyx API
security:
  - bearerAuth: []
tags:
  - name: Community STT Engines
    description: >-
      Register and manage speech-to-text (STT) engines you publish, and find the
      public engines other organizations published, so an AI Assistant, TeXML,
      Call Control or a WebSocket session can transcribe with one, using your
      own key for it, instead of a Telnyx-integrated vendor.
paths:
  /stt_integrations:
    post:
      tags:
        - Community STT Engines
      summary: Register a community STT engine
      description: >-
        Register a WebSocket speech-to-text engine. The engine starts at
        `status: draft` and cannot serve other organizations' traffic until an
        admin approves it (your own organization can try it with its own key
        meanwhile). It is `visibility: private` unless you set `public`: a
        private engine can be used only by your organization, a public one by
        any organization once it is `active`. See the [Community STT engines
        guide](/docs/voice/stt/community-engines) for the full review flow.


        `websocket_url` must be `wss://` with a real host; a plain `ws://` URL
        is rejected, and so is a credential embedded in it. Callers bring their
        own key for your engine: Telnyx stores none, so there is nothing to
        register here. The engine needs at least one `models` entry.
      operationId: create_community_stt_engine
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCommunitySttEngineRequest'
            examples:
              minimal:
                value:
                  name: my-transcription-engine
                  websocket_url: wss://stt.example.com/stream
                  models:
                    - name: v1
                      supported_languages:
                        - en
              with_capabilities:
                value:
                  name: my-transcription-engine
                  websocket_url: wss://stt.example.com/stream
                  supported_encodings:
                    - linear16
                    - linear32
                  supported_sample_rates:
                    - 8000
                    - 16000
                  models:
                    - name: v1
                      supported_languages:
                        - en
                    - name: v2
                      supported_languages:
                        - en
                        - es
                  default_model: v2
                  documentation_url: https://stt.example.com/docs
                  visibility: private
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunitySttEngine'
              example:
                id: 11111111-1111-1111-1111-111111111111
                name: my-transcription-engine
                websocket_url: wss://stt.example.com/stream
                supported_encodings:
                  - linear16
                  - linear32
                supported_sample_rates:
                  - 8000
                  - 16000
                models:
                  - name: v1
                    supported_languages:
                      - en
                  - name: v2
                    supported_languages:
                      - en
                      - es
                default_model: v2
                documentation_url: https://stt.example.com/docs
                connect_timeout_ms: 3000
                status: draft
                visibility: private
                review_status: null
                review_notes: null
                reviewed_at: null
                contact_email: null
                data_retention_policy_url: null
                fallback_engine: null
                user_id: 22222222-2222-2222-2222-222222222222
                organization_id: 33333333-3333-3333-3333-333333333333
                created_at: '2026-09-01T12:00:00Z'
                updated_at: '2026-09-01T12:00:00Z'
        '422':
          description: >-
            Validation error, including a `name` that is invalid or already
            taken (`{"errors": {"name": ["has already been taken"]}}`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
              example:
                errors:
                  websocket_url:
                    - >-
                      must be a wss:// URL with a host (plaintext ws:// is not
                      accepted)
components:
  schemas:
    CreateCommunitySttEngineRequest:
      type: object
      title: CreateCommunitySttEngineRequest
      required:
        - name
        - websocket_url
        - models
      properties:
        name:
          type: string
          title: Name
          description: >-
            The engine's unique name, and how you select it: send it as the
            engine (the start of `model` on an assistant, `<name>` or
            `<name>/<model>`; `transcription_engine` on Call Control and
            WebSocket streaming; `transcriptionEngine` in TeXML) together with
            your own key (`api_key_ref`). 1-64 characters: lowercase letters,
            digits, hyphens and underscores, starting with a letter or digit.
            Vendor names (`deepgram`, `azure`, `telnyx`, `google`, `xai`,
            `assemblyai`, `speechmatics`, `soniox`, `parakeet`, `nvidia`,
            `omi-health`, `humain`, `reson8`, `cohere`, `openai`,
            `distil-whisper`, and the spellings `omi_health`, `distil_whisper`,
            `deepgram-flux` and `deepgram_flux`), Deepgram's models written
            without the vendor (`flux`, `flux-multi`, `nova-2`, `nova-3` and
            `nova-3-medical`), the legacy engine codes `a` and `b`, and `custom`
            are reserved. Unique across all Telnyx accounts and cannot be
            changed after creation.
          minLength: 1
          maxLength: 64
          pattern: >-
            ^(?!(?:custom|deepgram|deepgram[-_]flux|azure|telnyx|google|xai|assemblyai|speechmatics|soniox|parakeet|nvidia|omi[-_]health|humain|reson8|cohere|openai|distil[-_]whisper|flux|flux[-_]multi|nova[-_]2|nova[-_]3|nova[-_]3[-_]medical|a|b)$)[a-z0-9][a-z0-9_-]*$
          example: my-whisper-engine
        websocket_url:
          type: string
          pattern: >-
            ^wss://(?!(?!(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:[:/?#]|$))(?:0[xX][0-9a-fA-F]+|\d+)(?:\.(?:0[xX][0-9a-fA-F]+|\d+))*(?:[:/?#]|$))(?!(?:0|10|127|100\.(?:6[4-9]|[7-9]\d|1[01]\d|12[0-7])|169\.254|172\.(?:1[6-9]|2\d|3[01])|192\.0\.[02]|192\.88\.99|192\.168|198\.1[89]|198\.51\.100|203\.0\.113|22[4-9]|2[3-5]\d)\.\d{1,3}(?:\.\d{1,3})*(?:[:/?#]|$))(?![^/?#@\s]*\.(?:[Cc][Oo][Nn][Ss][Uu][Ll]|[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Ll][Oo][Cc][Aa][Ll]|[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ll][Oo][Cc][Aa][Ll][Dd][Oo][Mm][Aa][Ii][Nn]|[Ll][Aa][Nn]|[Ss][Vv][Cc]|[Hh][Oo][Mm][Ee]\.[Aa][Rr][Pp][Aa]|[Tt][Ee][Ll][Nn][Yy][Xx]\.[Ii][Oo])(?:[:/?#]|$))(?![Tt][Ee][Ll][Nn][Yy][Xx]\.[Ii][Oo](?:[:/?#]|$))(?![^?#\s]*\?(?:[^&#\s]*&)*[^=&#\s]*(?:[Tt][Oo][Kk][Ee][Nn]|[Kk][Ee][Yy]|[Ss][Ee][Cc][Rr][Ee][Tt]|[Pp][Aa][Ss][Ss][Ww][Oo][Rr][Dd]|[Pp][Ww][Dd]|[Aa][Uu][Tt][Hh]|[Cc][Rr][Ee][Dd][Ee][Nn][Tt][Ii][Aa][Ll]|[Bb][Ee][Aa][Rr][Ee][Rr]))[^\s/?#@.:]+(?:\.[^\s/?#@.:]+)+(?::(?:6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]\d{3}|[1-5]\d{4}|[1-9]\d{0,3}))?(?:[/?#]\S*)?$
          title: Websocket URL
          description: >-
            The engine's WebSocket endpoint. Must be a `wss://` URL with a host
            on the public internet: plaintext `ws://`, private, loopback,
            link-local, shared (carrier-grade NAT), benchmarking, documentation,
            multicast and reserved addresses, numeric spellings of an address
            other than the plain dotted form, and internal hostnames
            (single-label names and names ending in `.local`, `.internal`,
            `.consul`, `.svc` or `.telnyx.io`, for example) are rejected. Do not
            embed credentials in the URL: a query parameter whose name looks
            like a credential (it contains `token`, `key`, `secret`, `password`,
            `pwd`, `auth`, `credential` or `bearer`) is rejected, and callers
            send their own key.
          example: wss://stt.example.com/stream
        supported_encodings:
          type: array
          title: Supported Encodings
          description: >-
            Audio formats your engine accepts: any of `linear16`, `linear32`,
            `mulaw`, `alaw`, `opus`, `amr_nb` and `speex`. It must include
            `linear32`, the format calls and AI Assistants send. Declaring none
            (or an empty list) means your engine receives `linear16`,
            `linear32`, `mulaw` or `alaw`; to receive `opus`, `amr_nb` or
            `speex`, list them.
          items:
            type: string
            enum:
              - linear16
              - linear32
              - mulaw
              - alaw
              - opus
              - amr_nb
              - speex
          anyOf:
            - maxItems: 0
            - contains:
                const: linear32
          example:
            - linear16
            - linear32
        supported_sample_rates:
          type: array
          title: Supported Sample Rates
          description: >-
            Audio sample rates (Hz) your engine accepts, from 1 to 48000. It
            must include `16000`, the rate calls and AI Assistants send.
            Declaring none (or an empty list) means your engine receives 8000 or
            16000 Hz audio; to receive any other rate, list it.
          items:
            type: integer
            minimum: 1
            maximum: 48000
          anyOf:
            - maxItems: 0
            - contains:
                const: 16000
          example:
            - 8000
            - 16000
        models:
          type: array
          title: Models
          description: >-
            The models your engine offers, each with the languages it supports.
            A caller selects one by sending its `name` as `model` next to the
            engine's name; your engine receives it as the `model` connect
            parameter. At least one, up to 20; each `name` is 1-32 characters:
            lowercase letters, digits, hyphens, underscores and dots, starting
            with a letter or digit. A model's `supported_languages` is its own
            list: a model that lists none accepts any language. Models and their
            languages are reviewed with the engine: changing them requires
            re-approval. Sending `models` replaces the whole list.
          minItems: 1
          maxItems: 20
          items:
            $ref: '#/components/schemas/CommunitySttEngineModel'
          example:
            - name: v1
              supported_languages:
                - en
            - name: v2
              supported_languages:
                - en
                - es
        default_model:
          type:
            - string
            - 'null'
          pattern: ^[a-z0-9][a-z0-9_.-]{0,31}$
          title: Default Model
          description: >-
            The model used when a call names none. Must be the `name` of one of
            `models`. Required when the engine has more than one model; with a
            single model it is that model and may be omitted.
          example: v2
        documentation_url:
          type: string
          format: uri
          maxLength: 2048
          pattern: ^https://[^\s/?#@]+(?:[/?#]\S*)?$
          title: Documentation URL
          description: >-
            An `https://` page where callers learn how to get a key for your
            engine and how to use it, with a host and no credentials in it, at
            most 2048 characters. Shown in `GET /stt_integrations/discoverable`.
          example: https://stt.example.com/docs
        connect_timeout_ms:
          type: integer
          title: Connect Timeout (ms)
          description: >-
            How long a caller waits for your engine's WebSocket handshake before
            giving up.
          default: 3000
        visibility:
          $ref: '#/components/schemas/CommunitySttEngineVisibility'
          default: private
        contact_email:
          type: string
          title: Contact Email
          description: >-
            Not shown on `GET /stt_integrations/discoverable`; visible only on
            your own engine record.
        data_retention_policy_url:
          type: string
          title: Data Retention Policy URL
        fallback_engine:
          type: string
          title: Fallback Engine
          description: >-
            Stored for your own reference only — not currently read by any
            caller, so setting it has no effect on call behavior yet.
      allOf:
        - if:
            required:
              - models
            properties:
              models:
                minItems: 2
          then:
            required:
              - default_model
            properties:
              default_model:
                type: string
            unevaluatedProperties: true
    CommunitySttEngine:
      type: object
      title: CommunitySttEngine
      description: >-
        The full record of a community STT engine you own. Select it by the
        engine's `name` (not its `id`), with your own key for it
        (`api_key_ref`): on an assistant, `model` is the name, or
        `<name>/<model>` for one of its `models`; on Call Control, WebSocket
        streaming and TeXML, the name goes in the engine field and the model in
        a separate field.
      required:
        - id
        - name
        - websocket_url
        - models
        - default_model
        - status
        - visibility
        - user_id
        - organization_id
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
          description: >-
            The engine's unique name. Send it as the engine (for example the
            start of `model` on an assistant).
        websocket_url:
          type: string
          title: Websocket URL
        supported_encodings:
          type:
            - array
            - 'null'
          title: Supported Encodings
          items:
            type: string
        supported_sample_rates:
          type:
            - array
            - 'null'
          title: Supported Sample Rates
          items:
            type: integer
        models:
          type: array
          title: Models
          description: >-
            The models your engine offers, each with the languages it supports.
            A caller selects one by sending its `name` as `model` next to the
            engine's name; your engine receives it as the `model` connect
            parameter. At least one, up to 20; each `name` is 1-32 characters:
            lowercase letters, digits, hyphens, underscores and dots, starting
            with a letter or digit. A model's `supported_languages` is its own
            list: a model that lists none accepts any language. Models and their
            languages are reviewed with the engine: changing them requires
            re-approval. Sending `models` replaces the whole list.
          minItems: 1
          maxItems: 20
          items:
            $ref: '#/components/schemas/CommunitySttEngineModel'
          example:
            - name: v1
              supported_languages:
                - en
            - name: v2
              supported_languages:
                - en
                - es
        default_model:
          type: string
          title: Default Model
          description: >-
            The model used when a call names none: the `name` of one of
            `models`. Always present; with a single model, it is that model.
          example: v2
        documentation_url:
          type:
            - string
            - 'null'
          title: Documentation URL
          description: >-
            An `https://` page where callers learn how to get a key for your
            engine and how to use it.
        connect_timeout_ms:
          type: integer
          title: Connect Timeout (ms)
        status:
          $ref: '#/components/schemas/CommunitySttEngineStatus'
        visibility:
          $ref: '#/components/schemas/CommunitySttEngineVisibility'
        review_status:
          oneOf:
            - $ref: '#/components/schemas/CommunitySttEngineReviewStatus'
            - type: 'null'
        review_notes:
          type:
            - string
            - 'null'
          title: Review Notes
          description: An admin's note, set only alongside a `rejected` review decision.
        reviewed_at:
          type:
            - string
            - 'null'
          format: date-time
          title: Reviewed At
        contact_email:
          type:
            - string
            - 'null'
          title: Contact Email
        data_retention_policy_url:
          type:
            - string
            - 'null'
          title: Data Retention Policy URL
        fallback_engine:
          type:
            - string
            - 'null'
          title: Fallback Engine
        user_id:
          type: string
          title: User Id
        organization_id:
          type: string
          title: Organization Id
        created_at:
          type:
            - string
            - 'null'
          format: date-time
          title: Created At
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
          title: Updated At
    ValidationErrorResponse:
      type: object
      title: ValidationErrorResponse
      description: >-
        Keys are the invalid field names; values are the list of validation
        messages for that field.
      properties:
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
    CommunitySttEngineModel:
      type: object
      title: Community STT Engine Model
      description: One model an engine offers, with the languages it supports.
      required:
        - name
      additionalProperties: false
      properties:
        name:
          type: string
          title: Name
          description: >-
            The model's name, sent by callers as `model` and to your engine as
            the `model` connect parameter. 1-32 characters: lowercase letters,
            digits, hyphens, underscores and dots, starting with a letter or
            digit.
          pattern: ^[a-z0-9][a-z0-9_.-]{0,31}$
          example: large-v3
        supported_languages:
          type: array
          title: Supported Languages
          description: >-
            The languages this model supports. Omit or leave empty for no
            restriction. A model's languages are its own.
          maxItems: 100
          uniqueItems: true
          items:
            type: string
            minLength: 1
            maxLength: 35
          example:
            - en
            - es
            - multi
    CommunitySttEngineVisibility:
      type: string
      title: Visibility
      description: >-
        `private`: listed only for the owning organization, and usable only by
        it while `status` is `draft` or `active`. `public`: once `status` is
        `active`, listed for every organization via `GET
        /stt_integrations/discoverable` and usable by any organization, by the
        engine's `name`. A public engine that is not `active` (`draft`,
        `disabled` or `suspended`) is not usable by other organizations.
      enum:
        - private
        - public
    CommunitySttEngineStatus:
      type: string
      title: Status
      description: >-
        Whether the engine can serve traffic right now — independent of
        `visibility` and `review_status`. `draft`: not yet approved (new and
        awaiting its first review, rejected and awaiting a fix, or approved
        earlier and awaiting re-review after a review-sensitive change).
        `active`: serving traffic. `disabled`: owner-paused, reversible via
        `enable`. `suspended`: Telnyx-paused (an SLA or abuse action) — the
        owner cannot clear this by calling `enable`; Telnyx can reinstate it.
      enum:
        - draft
        - active
        - disabled
        - suspended
    CommunitySttEngineReviewStatus:
      type: string
      title: Review Status
      description: >-
        `pending`: submitted, awaiting an admin decision. `approved`: currently
        approved for its last-submitted configuration. `rejected`: the last
        submission was declined; see `review_notes`. `null`: never submitted, or
        a since-approved engine had a review-sensitive field change and needs
        re-approval.
      enum:
        - pending
        - approved
        - rejected
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````