Skip to main content
PUT
Update a community STT engine

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier of the community STT engine.

Body

application/json

Every field is optional — only the fields present in the request are changed. name, websocket_url, models, default_model and visibility reject an explicit null (they're required on the underlying record); omit a field entirely to leave it unchanged. Send null to clear documentation_url, contact_email, data_retention_policy_url or fallback_engine. name is immutable: send it only if it equals the current name.

name
string

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.

Required string length: 1 - 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_-]*$
websocket_url
string

Must be a wss:// URL with a host on the public internet; the same rules as when registering.

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*)?$
supported_encodings

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.

Available options:
linear16,
linear32,
mulaw,
alaw,
opus,
amr_nb,
speex
supported_sample_rates

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.

Required range: 1 <= x <= 48000
models
Community STT Engine Model · object[]

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.

Required array length: 1 - 20 elements
Example:
default_model
string

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.

Pattern: ^[a-z0-9][a-z0-9_.-]{0,31}$
Example:

"v2"

documentation_url
string<uri> | null

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. Send null to clear it; omit the field to leave it unchanged.

Maximum string length: 2048
Pattern: ^https://[^\s/?#@]+(?:[/?#]\S*)?$
connect_timeout_ms
integer
visibility
enum<string>

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.

Available options:
private,
public
contact_email
string | null

Send null to clear it; omit the field to leave it unchanged.

data_retention_policy_url
string | null

Send null to clear it; omit the field to leave it unchanged.

fallback_engine
string | null

Send null to clear it; omit the field to leave it unchanged.

Response

Successful Response

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.

id
string
required
name
string
required

The engine's unique name. Send it as the engine (for example the start of model on an assistant).

websocket_url
string
required
models
Community STT Engine Model · object[]
required

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.

Required array length: 1 - 20 elements
Example:
default_model
string
required

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"

status
enum<string>
required

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.

Available options:
draft,
active,
disabled,
suspended
visibility
enum<string>
required

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.

Available options:
private,
public
user_id
string
required
organization_id
string
required
supported_encodings
string[] | null
supported_sample_rates
integer[] | null
documentation_url
string | null

An https:// page where callers learn how to get a key for your engine and how to use it.

connect_timeout_ms
integer
review_status
enum<string> | null

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.

Available options:
pending,
approved,
rejected
review_notes
string | null

An admin's note, set only alongside a rejected review decision.

reviewed_at
string<date-time> | null
contact_email
string | null
data_retention_policy_url
string | null
fallback_engine
string | null
created_at
string<date-time> | null
updated_at
string<date-time> | null