Telnyx Calling — Documentation Index
TeXML, SIP trunking, UAC connections, WebRTC, and trusted calling. One section of the Telnyx developer docs (https://developers.telnyx.com). Root index: https://developers.telnyx.com/llms.txt · Full content for this section: https://developers.telnyx.com/development/llms/calling-llms-full-txt.md
Subsections
Focused per-subsection files (index + full content):- Voice API (full)
- TeXML (full)
- SIP Trunking (full)
- UAC Connections (full)
- WebRTC (full)
- Trusted Calling (full)
Voice API
- Getting Started: Complete step-by-step guide to get started with Telnyx Voice API, from account creation to making your first call.
- Commands and Resources: Reference of Telnyx Voice API commands and resources — calls, conferences, recordings, transcriptions — with usage patterns and lifecycle examples.
- Webhooks: Reference for Voice API webhook events, payloads, configuration, and delivery behavior.
- Sending Commands: Send voice commands to Telnyx Programmable Voice — answer, hangup, transfer, play audio, gather DTMF — with code examples and parameter reference.
- Receiving Webhooks: Receive Telnyx Programmable Voice webhooks to drive call flow in real time. Includes event types, payload structure, retries, and SDK examples.
- Command Retries: Telnyx’s Programmable Voice Resources page explain in detail how to
- Speech-to-Text: Transcribe Telnyx Programmable Voice calls with the Voice API and TeXML. Includes language selection, real-time vs post-call modes, and code samples.
- Text-to-Speech: Use text-to-speech on Telnyx Programmable Voice to speak prompts and dynamic content. Supports AWS Polly, Google, ElevenLabs, Azure, and Telnyx voices.
- Call Queueing: how to use the Telnyx Call Queue API to create and manage call
- Answering Machine Detection: Telnyx’s Programmable Voice lets you build custom answering machine
- Call Recordings Storage: Telnyx’s Programmable Voice gives customers the ability to store
- Pay: Accept payments securely over the phone. Telnyx’s Pay over Voice feature guides callers through an automated IVR flow to collect payment details, sends them to the configured payment processor, and r…
- SIPREC Server Configuration: Configure a Telnyx SIPREC session recording server (SRS) to capture and store VoIP call media for compliance, quality assurance, and call archival.
- SIPREC Client: Use the Telnyx SIPREC client to record Voice API and TeXML calls to an external SIPREC server. Includes session setup, metadata, and security options.
- Gather Using AI: Capture caller input with AI on Telnyx Programmable Voice. Use Gather using AI to transcribe speech, classify intent, and branch your IVR dynamically.
- Attach an AI Assistant to a Call: Learn how to attach a pre-configured AI assistant to a live call using the ai_assistant_start command.
- Dialogflow Integration: Telnyx’s Dialogflow tutorial will teach you how to create and
- Real-Time Media Streaming: Stream call audio in real time over WebSockets with Telnyx Programmable Voice for transcription, AI integration, and bidirectional media.
- Conversation Relay: Use Conversation Relay to connect Telnyx calls to your WebSocket application for real-time speech, DTMF, and text-to-speech control.
- Noise Suppression: Enable AI noise suppression on Telnyx Programmable Voice calls to remove background noise from inbound and outbound audio for clearer conversations.
- Deepfake Detection: Detect AI-generated voices on live calls with Telnyx’s real-time
- IVR: How to build an IVR using Telnyx Voice API. Start building on Telnyx today.
- Call Center: How to build a call center application using Telnyx APIs. Start
- Call Tracking: How to build a call tracking application using Telnyx Voice API.
- Conferencing: How to build a conferencing using Telnyx Voice API. Start building
- Voice API Services in Europe: Telnyx Voice API services in Europe — use European points of presence to reduce latency and meet data residency requirements for EU-based voice apps.
- L1 Account Restrictions: Restrictions that apply to Programmable Voice on Telnyx L1 verified accounts — automated speak warnings, call limits, and steps to upgrade verification.
TeXML
- TeXML Fundamentals: Learn how TeXML, an XML-based markup language, defines call control and processing instructions for programmable voice applications on Telnyx.
- Instruction Fetching: How Telnyx fetches TeXML instructions for inbound and outbound calls
- TeXML Interpreter: TeXML is an XML based data structure used by Telnyx to build quick applications
- TeXML TwiML Compatibility: Side-by-side comparison of TeXML and TwiML verb and noun support, helping you migrate Twilio call control instructions to Telnyx with minimal changes.
- Dynamic TeXML Bins: Generate dynamic TeXML responses with Telnyx TeXML Bins. Inject runtime variables into TwiML-compatible call flows without standing up a backend.
- Sending HTTP Requests: Send outbound HTTP requests from TeXML on Telnyx Programmable Voice. Use HttpRequest verbs to call your APIs mid-conversation with code samples.
- TeXML Answering Machine: Learn how to enable and configure Answering Machine Detection (AMD)
- Dial
- Say
- Play
- Gather
- AIGather
- AIAssistant
- Record
- Conference
- Enqueue
- Hangup
- Pause
- Redirect
- Reject
- Stream
- ConversationRelay
- Connect
- HttpRequest
- Leave
- Refer
- Siprec
- Start
- Stop
- Suppression
- Transcription
- Applications: Manage TeXML applications for handling inbound and outbound calls.
- Calls: Initiate outbound calls and manage individual call legs programmatically through the Telnyx TeXML REST API, including state, metadata, and lifecycle.
- Conferences: Create, modify, and end multi-participant audio conferences with the Telnyx TeXML REST API, including participant management and recording controls.
- Conference participants: Add, mute, hold, and remove individual call legs from TeXML conferences using the Telnyx Conference Participants REST API for fine-grained control.
- Recordings: List, retrieve, and manage audio recordings produced from TeXML calls and conferences, including metadata like format, duration, and storage URLs.
- Transcripts: Retrieve and manage transcription results produced from TeXML calls when the Transcription verb is executed or transcription is enabled on a call.
- SIPREC: Start and manage SIPREC media recording sessions for TeXML calls, delivering call audio to external SIP recording servers for compliance use cases.
- Streams: Start, stop, and manage media streaming sessions over WebSockets for TeXML calls to deliver real-time audio to external transcription or AI systems.
- Queues: Create and manage Telnyx TeXML queues to hold waiting callers in FIFO order before connecting them to agents, with hold music and announcement support.
- TeXML application secrets: Securely store, manage, and retrieve credentials, API keys, and tokens used by TeXML applications via the Telnyx TeXML Secrets REST API.
SIP Trunking
- Overview: Overview of Telnyx SIP Trunking — buy numbers, create a SIP connection, configure authentication and routing, and place your first inbound/outbound call.
- Overview: SIP authentication methods supported by Telnyx SIP Trunking — credential, IP, FQDN, and token authentication. Compare and choose the right method.
- IP Authentication Token: Use IP authentication tokens on Telnyx SIP Trunking to authenticate calls without a fixed allowlist. Generate tokens and include them in SIP INVITEs.
- Tech Prefix: Authenticate Telnyx SIP Trunking calls with a tech prefix. Prepend a numeric prefix to the request URI to identify your account on outbound INVITEs.
- Caller ID Policy: Configure caller ID policy on Telnyx SIP Trunking connections. Allow, override, or block From and P-Asserted-Identity values on outbound calls.
- Concurrent Call Limits: Set concurrent call limits on Telnyx SIP Trunking connections. Cap inbound and outbound channels per connection to protect capacity and control spend.
- P-Charge-Info: Use the P-Charge-Info SIP header on Telnyx SIP Trunking to specify the billed number for outbound calls. Includes header format and behavior rules.
- Outbound Voice Profiles for SIP trunking: Attach Outbound Voice Profiles to Telnyx SIP Trunking connections to control allowed destinations, rate limits, daily spend, and outbound routing.
- Round Robin Routing: Distribute Telnyx SIP Trunking traffic evenly across multiple destinations using round-robin routing. Spread load between PBXes or geographic regions.
- AnchorSite: Configure AnchorSite to control which Telnyx PoP handles media routing for SIP calls, with latency-based and manual selection modes.
- Failover & Retries: Configure failover and retry behavior on Telnyx SIP Trunking. Route calls to backup destinations on SIP failure codes for high availability.
- IP Whitelisting: Whitelist your IP addresses on Telnyx SIP Trunking connections to authenticate calls without credentials. Includes allowed CIDR ranges, edge IPs, and AI services IPs.
- SRV Records: Use SRV records to route SIP traffic to Telnyx with automatic failover. Configure DNS for sip._udp / sip._tcp and let your PBX resolve Telnyx edges.
- STUN/TURN: Connect WebRTC and NAT-traversed SIP clients to Telnyx using STUN and TURN servers. Includes hostnames, ports, and authentication for media relays.
- Noise Suppression: Enable AI noise suppression on Telnyx SIP Trunking calls. Remove background noise from inbound or outbound audio for clearer phone conversations.
- Jitter Buffer: Configure the adaptive jitter buffer on Telnyx SIP Trunking to smooth out RTP packet delay and improve voice quality on lossy or variable networks.
- External Transfers: Use SIP REFER to transfer Telnyx SIP Trunking calls to external numbers. Configure your PBX or Voice API to hand off calls without bridging media.
- SIP URI Calling: Place and receive SIP URI calls over Telnyx SIP Trunking. Dial endpoints by sip:user@domain instead of E.164 to connect VoIP systems directly.
- Attestation Behavior: How Telnyx assigns STIR/SHAKEN attestation levels (A, B, C) to outbound calls. Understand the criteria, signed identity headers, and downstream impact.
- Hosted Certificate: Use a Telnyx hosted STIR/SHAKEN certificate to sign outbound calls without managing your own CA. Includes setup, certificate rotation, and verification.
- SIP Header Parameters: Reference of STIR/SHAKEN SIP header parameters used by Telnyx — Identity, attest, origid, dest, and how to read and verify a signed identity header.
- Dynamic E911: Provision Dynamic E911 on Telnyx SIP Trunking for VoIP emergency calling. Register caller locations dynamically and route 911 calls to the correct PSAP.
- Response Codes: Reference of SIP response codes you’ll see on Telnyx SIP Trunking calls — 4xx client errors, 5xx server errors, 6xx global failures, and what they mean.
- Configuration Overview: Telnyx’s SIP trunking guide will help you configure your sip
- LiveKit: Integrate Telnyx SIP Trunks with LiveKit for real-time audio and video applications. Includes Telnyx configuration and LiveKit SIP gateway setup steps.
UAC Connections
- UAC Connections: SIP Attach connects your existing PBX or SIP platform to Telnyx. Create a UAC Connection so Telnyx registers to your PBX and routes calls to Telnyx applications.
WebRTC
- Fundamentals: Core concepts for building real-time voice apps with the Telnyx Voice WebRTC SDKs — sessions, media negotiation, codecs, and call lifecycle basics.
- Architecture: Architecture overview of the Telnyx Voice WebRTC SDKs covering signaling, media flow, ICE/STUN/TURN, and how clients connect to the Telnyx network.
- SDK Commonalities: Concepts shared across the Telnyx Voice WebRTC SDKs (JS, iOS, Android, Flutter) — clients, calls, events, push, and authentication flows in one place.
- Credential Connections: Authenticate the Telnyx Voice WebRTC SDKs with credential-based SIP connections. Set up SIP credentials and login flow for browser and mobile apps.
- Telephony Credentials: Authenticate the Telnyx Voice WebRTC SDKs with telephony credentials. Create per-user logins tied to a SIP connection for browser and mobile apps.
- JWTs: Authenticate the Telnyx Voice WebRTC SDKs with short-lived JWT tokens. Generate, refresh, and validate tokens for secure browser and mobile clients.
- Overview: How push notifications work with Telnyx WebRTC SDKs to deliver incoming call alerts when your app is backgrounded or terminated.
- Android: Set up Firebase Cloud Messaging and configure the Telnyx Portal to receive push notifications for incoming calls on Android.
- iOS: Configure APNS VoIP push certificates and the Telnyx Portal to receive push notifications for incoming calls on iOS.
- Flutter: Configure push notifications for the Telnyx Flutter Voice SDK on both Android and iOS.
- React Native: Configure push notifications for the Telnyx React Native Voice SDK on both Android and iOS.
- JS SDK Demo App: Run the Telnyx JavaScript WebRTC demo app to make and receive browser calls, test hold, mute, and transfer, and inspect the open-source code.
- JS SDK Anatomy: Anatomy of the Telnyx JavaScript Voice SDK — the TelnyxRTC client, Call objects, and how events flow between your web app and the Telnyx network.
- Contact Center (CCaaS): Build a complete contact center solution using Telnyx WebRTC with advanced call control and routing capabilities.
- Outbound Dialer: Build an automated outbound dialer system using Telnyx WebRTC and Call Control API for high-volume calling campaigns.
- Call Detail Records: Use WebRTC call detail records (CDRs) on Telnyx to diagnose Voice SDK problems — connection failures, audio quality issues, and session lifecycle events.
- Debug Logs: Enable and read debug logs from the Telnyx Voice WebRTC SDKs to diagnose signaling, media, and call quality issues in production and development.
- Interpreting Debug Data: Step-by-step guide to interpreting debug logs from the Telnyx Voice WebRTC SDKs — read INVITE/BYE flows, ICE candidates, and identify common errors.
- WebRTC JS SDK quickstart: Get started with the Telnyx WebRTC JS SDK in 5 minutes. Make and receive calls from your browser.
- Build a Call Center Agent: Step-by-step tutorial for building a call center agent with the Telnyx WebRTC JS SDK — answering calls, muting, and holding.
- WebRTC JS SDK authentication: How to authenticate the Telnyx WebRTC JS SDK using JWT, credentials, or anonymous login. Includes token refresh and security best practices.
- Network Connectivity Requirements: Required endpoints, ports, and firewall configuration for the Telnyx WebRTC JS SDK.
- Device Management: How to select, switch, and manage audio input/output devices (microphones, speakers) with the Telnyx WebRTC JS SDK.
- Manage Multiple Calls: How to handle concurrent calls, call waiting, and per-call media element management with the Telnyx WebRTC JS SDK.
- Call Report Stats: How to enable, access, and interpret WebRTC call reports from the Telnyx JS SDK — RTT, jitter, packet loss, ICE data, and audio quality metrics.
- Reconnection & Call Recovery: How the Telnyx WebRTC JS SDK handles reconnection, when calls survive network interruptions, and how to configure recovery behavior.
- Framework Integration: How to integrate the Telnyx WebRTC JS SDK with React, Next.js, Vue, and other JavaScript frameworks.
- Debug Data & Call Quality Analysis: How to collect, interpret, and troubleshoot WebRTC call quality using debug reports, call reports, and the Telnyx debug visualizer.
- WebRTC JS SDK error handling: Handle errors, warnings, and connection failures with the Telnyx WebRTC JS SDK, including fatal errors, recommended recovery actions, reconnection behavior, and version-specific guidance.
- Production Best Practices: Production deployment guide for the Telnyx WebRTC JS SDK — security, reliability, performance, and monitoring.
- TelnyxRTC Class: Main entry point for the Telnyx WebRTC JS SDK. Connect, disconnect, and manage calls.
- Call Class: The Call object represents an active voice call — make, answer, hang up, mute, and hold.
- IClientOptions: Configuration options for the TelnyxRTC client — authentication, connection, ICE, call reports, and debugging.
- ICallOptions: Configuration options for placing a call with the Telnyx WebRTC JS SDK.
- INotification: Notification object emitted by the Telnyx WebRTC JS SDK for call updates, media events, and SDK notifications.
- Switch/Server Events: Events emitted by the Telnyx signaling server during the WebRTC call lifecycle — login, invite, answer, bye, and more.
- How WebRTC Signaling Works: How the Telnyx WebRTC JS SDK communicates with Telnyx infrastructure — WebSocket connection, SIP signaling, and the full call flow from dial to hangup.
- How ICE & TURN Work: How ICE connectivity checks, STUN, and TURN relay work in the Telnyx WebRTC JS SDK — and why they matter for call quality.
- Authentication Architecture: How the three Telnyx WebRTC authentication methods relate — Credential Connections, Telephony Credentials, and JWTs — and when to use each.
- Call State Lifecycle: Every state a Telnyx WebRTC call goes through, what triggers each transition, and what your app should do at each stage.
- WebRTC JS ChangeLog: Release notes for the Telnyx JavaScript Voice SDK (@telnyx/webrtc). Track new features, breaking changes, bug fixes, and deprecations by version.
- React quickstart: Get started with the Telnyx React SDK for building WebRTC voice applications in React.
- Voice native iOS Client SDK: Telnyx iOS Voice Client SDK — add real-time SIP voice and video calling to native iOS apps with CallKit integration, VoIP push notifications, and Swift support.
- WebRTC iOS Client: TxClient reference for the iOS Voice SDK. Main entry point used to log in, place outbound calls, and receive inbound calls in Swift and SwiftUI apps.
- WebRTC iOS Call: Call class reference for the Telnyx iOS Voice SDK. Represents an active audio or video call and exposes accept, decline, hold, mute, and DTMF methods.
- WebRTC iOS Call: Call extensions in the Telnyx iOS Voice SDK. Convenience methods added to the Call class for CallKit integration, state queries, and audio routing.
- WebRTC iOS Client: TxClient extensions for the iOS Voice SDK. Helper methods added to the TelnyxRTC client for state queries, CallKit integration, and convenience APIs.
- WebRTC iOS Call State: CallState enum reference for the iOS Voice SDK. Represents the current state of a call (NEW, CONNECTING, RINGING, ACTIVE, DONE) and supported transitions.
- WebRTC iOS TxClientDelegate: TxClientDelegate protocol reference for the iOS Voice SDK. Implement these methods to receive call state changes, socket events, and backend updates.
- WebRTC iOS Call Info: TxCallInfo struct reference for the iOS Voice SDK. Contains information about the current call — callerName, callerNumber, callId, and direction.
- WebRTC iOS Client Configuration: TxConfig struct reference for the iOS Voice SDK. Structure used to configure TelnyxRTC client logins, ringtone, ringback tone, logging, and push.
- WebRTC iOS Client Push Notifications Configuration: TxPushConfig struct reference for the iOS Voice SDK. Properties used to configure push notification credentials and behavior for incoming calls.
- WebRTC iOS Client Push IP Notifications Configuration: TxPushIPConfig struct reference for the iOS Voice SDK. Properties used to configure the server endpoint for VoIP push notification delivery.
- iOS Portal Setup: Configure VoIP push credentials in the Telnyx portal for the iOS Voice SDK. Upload your APNs VoIP certificate so Telnyx can deliver incoming call pushes.
- iOS Push Notification Setup: Set up VoIP push notifications in your iOS app to wake the Telnyx Voice SDK on incoming calls. Covers PushKit, CallKit reporting, and SDK integration.
- Troubleshooting: Troubleshoot iOS Voice SDK push notification problems — APNs VoIP delivery, PushKit registration, CallKit reporting timing, and missed call symptoms.
- WebRTC iOS SDK AI Voice Assistant Introduction: Introduction to building AI-powered voice assistants with the iOS Voice SDK
- WebRTC iOS SDK AI Voice Assistant Anonymous Login: Learn how to implement anonymous login for AI voice assistants with the iOS Voice SDK
- WebRTC iOS SDK AI Voice Assistant Starting Conversations: Learn how to start conversations with AI voice assistants using the iOS Voice SDK
- WebRTC iOS SDK AI Voice Assistant Text Messaging: Learn how to implement text messaging with AI voice assistants using the iOS Voice SDK
- WebRTC iOS SDK AI Voice Assistant Transcript Updates: Learn how to handle transcript updates with AI voice assistants using the iOS Voice SDK
- WebRTC Stats: WebRTC stats changelog for the Telnyx iOS Voice SDK. Updates and improvements to call-quality metrics, packet stats, and diagnostic data exposed by the SDK.
- WebRTC iOS SDK Error Handling: Handle errors in the Telnyx iOS Voice SDK. Reference of TxError types, socket error codes, and patterns for surfacing call failures in your iOS app.
- WebRTC iOS ChangeLog: Release notes for the Telnyx iOS Voice SDK. Track new features, breaking changes, bug fixes, and deprecations across published Swift package versions.
- WebRTC Android Quickstart: Quickstart for the Telnyx Android Voice SDK using the telnyx_common drop-in module. Add SIP voice calling to your Android app in under 10 minutes.
- Android Voice Client SDK: Telnyx Android Voice Client SDK — add real-time SIP audio and video calling to native Android apps, with push notifications and a drop-in module.
- WebRTC Android Client: TelnyxClient class reference for the Telnyx Android Voice SDK. The main entry point — log in, connect, place outbound calls, and receive incoming calls.
- WebRTC Android Call: Call class reference for the Telnyx Android Voice SDK. Represents an active audio or video call and exposes accept, decline, hold, mute, and DTMF methods.
- WebRTC Android Config: TxConfig reference for the Telnyx Android Voice SDK. Defines login credentials, ringtone, logging level, and notification settings for TelnyxClient.
- WebRTC Android ReceivedMessageBody: ReceivedMessageBody reference for the Android Voice SDK. Data class describing the structure of every message received over the Telnyx socket connection.
- WebRTC Android SocketResponse: SocketResponse reference for the Android Voice SDK. Data class used for communication between the Telnyx WebSocket connection and TelnyxClient.
- Android Portal Setup: Configure push notification credentials in the Telnyx portal for the Android Voice SDK. Upload your FCM server key so Telnyx can deliver call pushes.
- Notification Quickstart for Android: Quickstart for adding push notifications to your Android Voice SDK app using the telnyx_common module. Drop-in solution for incoming call wakeups.
- Android Push Notification Setup: Set up push notifications in your Android app to wake the Telnyx Voice SDK on incoming calls. Covers Firebase Cloud Messaging integration and SDK setup.
- Android Push Troubleshooting: Troubleshoot push notification problems with the Android Voice SDK — debug FCM delivery, wakeup issues, and missing calls in foreground and background.
- WebRTC Android SDK AI Voice Assistant Introduction: Introduction to building AI-powered voice assistants with the Android Voice SDK
- WebRTC Android SDK AI Voice Assistant Anonymous Login: Learn how to implement anonymous login for AI voice assistants with the Android Voice SDK
- WebRTC Android SDK AI Voice Assistant Starting Conversations: Learn how to start conversations with AI voice assistants using the Android Voice SDK
- WebRTC Android SDK AI Voice Assistant Text Messaging: Learn how to implement text messaging with AI voice assistants using the Android Voice SDK
- WebRTC Android SDK AI Voice Assistant Transcript Updates: Learn how to handle transcript updates with AI voice assistants using the Android Voice SDK
- WebRTC Stats: WebRTC stats changelog for the Telnyx Android Voice SDK. Updates and improvements to call-quality metrics, packet stats, and diagnostic data exposed by the SDK.
- WebRTC Call Reports: Collect and send WebRTC call statistics for troubleshooting and monitoring
- WebRTC Android SDK Error Handling: Error handling reference for the Telnyx Android Voice SDK. List of common errors, TelnyxSocketError codes, and patterns for surfacing call failures.
- WebRTC Android ChangeLog: Release notes for the Telnyx Android Voice SDK. Track new features, breaking changes, bug fixes, and deprecations across published versions.
- React Native SDK: Official Telnyx React Native SDK for building cross-platform real-time communication applications with WebRTC.
- React Native SDK Quickstart: Get started with the Telnyx React Native SDK in minutes. Complete setup guide from installation to making your first call.
- Call: Represents a call with reactive state streams. Wraps the underlying Telnyx Call object and provides reactive streams for all call state changes.
- TelnyxVoipClient: Main VoIP client class for React Native applications. Provides methods for call management, user registration, and WebRTC functionality.
- CredentialConfig: Configuration for credential-based authentication with SIP username and password.
- TokenConfig: Reference for the TokenConfig interface used to configure JWT token-based authentication when initializing the Telnyx WebRTC React Native SDK.
- TelnyxVoipClientOptions: Configuration options for TelnyxVoipClient including app state management and debug settings.
- TelnyxVoiceAppOptions: Configuration options for the TelnyxVoiceApp component including VoIP client management and push notification handling.
- Portal Setup: Configure push notifications for React Native applications in the Telnyx Portal.
- App Setup: Configure your React Native application for push notifications on both iOS and Android platforms.
- Error Handling: Common errors, debugging techniques, and troubleshooting tips for the Telnyx WebRTC React Native SDK, including connection failures and call-state errors.
- Changelog: Release notes and version history for the Telnyx WebRTC React Native SDK, including new features, breaking changes, bug fixes, and upgrade guidance.
- Flutter Voice Client SDK: Telnyx Flutter Voice SDK — add real-time SIP voice and video calling to Flutter and Dart applications with push notifications, CallKit, and ConnectionService.
- WebRTC Flutter Client: TelnyxRTC client reference for the Flutter Voice SDK. Main entry point used to log in, place outbound calls, and receive inbound calls in Dart and Flutter apps.
- WebRTC Flutter Call: Call class reference for the Telnyx Flutter Voice SDK. Represents an active audio or video call and exposes accept, decline, hold, mute, and DTMF methods.
- Flutter WebRTC SDK Message: TelnyxMessage reference for the Flutter Voice SDK. Represents an inbound message received from the Telnyx socket — events, payload fields, and parsing.
- Flutter WebRTC SDK Socket Error Message: TelnyxSocketError reference for the Flutter Voice SDK. Represents an error received over the Telnyx WebSocket — codes, messages, and recovery patterns.
- WebRTC Flutter Call State: CallState enum reference for the Flutter Voice SDK. Represents the current state of a call (NEW, CONNECTING, RINGING, ACTIVE, DONE) and supported transitions.
- Flutter WebRTC SDK Socket Message Handler: onSocketMessageReceived event handler for the Flutter Voice SDK. Callback invoked when messages are received from the Telnyx WebSocket connection.
- Flutter WebRTC SDK Socket Error Handler: onSocketErrorReceived event handler for the Flutter Voice SDK. Callback invoked when errors are received from the Telnyx WebSocket connection.
- WebRTC Flutter Client Configuration: Config method object for the Flutter Voice SDK. Defines parameters used to configure the TelnyxClient login — credentials, ringtone, logging, and more.
- WebRTC Flutter Incoming Invite Object: IncomingInviteParams method object for the Flutter Voice SDK. Information about an incoming call that can be answered, declined, or rejected by the app.
- WebRTC Flutter Client Push Notifications Configuration: PushMetadata reference for the Flutter Voice SDK. Properties carried in push notification payloads to wake the SDK and reconcile incoming calls.
- Flutter Push Notification Portal Setup: Configure push notification credentials in the Telnyx portal for the Flutter Voice SDK. Upload FCM and APNs/VoIP credentials for incoming call delivery.
- Flutter Push Notification App Setup: Set up push notifications in your Flutter app to wake the Telnyx Voice SDK on incoming calls. Covers FCM, APNs/VoIP, and platform-channel wiring.
- Flutter Push Troubleshooting: Troubleshoot push notification problems with the Flutter Voice SDK — debug FCM and VoIP push delivery, missed calls, and platform-channel issues.
- WebRTC Flutter SDK AI Voice Assistant Introduction: Introduction to building AI-powered voice assistants with the Flutter Voice SDK
- WebRTC Flutter SDK AI Voice Assistant Anonymous Login: Learn how to implement anonymous login for AI voice assistants with the Flutter Voice SDK
- WebRTC Flutter SDK AI Voice Assistant Starting Conversations: Learn how to start conversations with AI voice assistants using the Flutter Voice SDK
- WebRTC Flutter SDK AI Voice Assistant Text Messaging: Learn how to implement text messaging with AI voice assistants using the Flutter Voice SDK
- WebRTC Flutter SDK AI Voice Assistant Transcript Updates: Learn how to handle transcript updates with AI voice assistants using the Flutter Voice SDK
- WebRTC Stats: WebRTC stats changelog for the Telnyx Flutter Voice SDK. Updates and improvements to call-quality metrics, packet stats, and diagnostic data exposed by the SDK.
- WebRTC Flutter SDK Error Handling: Error handling reference for the Telnyx Flutter Voice SDK. Common errors, socket error codes, and patterns for surfacing call failures in Flutter apps.
- WebRTC Flutter ChangeLog: Release notes for the Telnyx Flutter Voice SDK. Track new features, breaking changes, bug fixes, and deprecations across published Dart package versions.
Trusted Calling
- Overview: Display your business name, logo, and call reason on recipients’ phone screens with Branded Calling.
- Quickstart: Get your first branded call working, from Terms of Service to a verified DIR with phone numbers attached.
- Pricing: Branded Calling pricing — enterprise registration is free, brand registration has a one-time and monthly cost, plus a per-call charge.
- Overview: Register your business as an enterprise to use Branded Calling.
- Overview: Create and manage Display Identity Records (DIRs), the display identity shown to call recipients.
- Overview: Attach phone numbers to a verified DIR and inspect the carrier-network vetting batches.
- Overview: Configure the call reason text displayed to recipients, explaining why your business is calling.
- Overview: Accept the Branded Calling Terms of Service before activating Branded Calling on an enterprise.
- Overview: Inspect, contest, and resolve infringement claims filed against your DIR.
API Reference (Calling)
Call Control Applications
- List call control applications: Return a list of call control applications.
- Create a call control application: Create a call control application.
- Retrieve a call control application: Retrieves the details of an existing call control application.
- Update a call control application: Updates settings of an existing call control application.
- Delete a call control application: Deletes a call control application.
Call Information
- List all active calls for given connection: Lists all active calls for given connection. Acceptable connections are either SIP connections with webhook_url or xml_request_url, call control or texml. Retu…
- Retrieve a call status: Returns the status of a call (data is available 10 minutes after call ended).
Debugging
- List call events: Filters call events by given filter parameters. Events are ordered by
occurred_at. If filter forleg_idorapplication_session_idis not present, it only…
Call Commands
- Dial: Dial a number or SIP URI from a given connection. A successful response will include a
call_leg_idwhich can be used to correlate the command with subsequent… - Answer call: Answer an incoming call. You must issue this command before executing subsequent commands on an incoming call.
- Bridge calls: Bridge two call control calls.
- Start AI Assistant: Start an AI assistant on the call.
- Join AI Assistant Conversation: Add a participant to an existing AI assistant conversation. Use this command to bring an additional call leg into a running AI conversation.
- Stop AI Assistant: Stop an AI assistant on the call.
- Add messages to AI Assistant: Add messages to the conversation started by an AI assistant on the call.
- Start Conversation Relay: Start a Conversation Relay session on an active call. Conversation Relay connects the call audio to your WebSocket so your application can exchange realtime me…
- Stop Conversation Relay: Stop the active Conversation Relay session on a call.
- Update client state: Updates client state
- Enqueue call: Put the call in a queue.
- Forking start: Call forking allows you to stream the media from a call to a specific target in realtime.
- Forking stop: Stop forking a call.
- Gather: Gather DTMF signals to build interactive menus.
- Gather stop: Stop current gather.
- Gather using AI: Gather parameters defined in the request payload using a voice assistant.
- Gather using audio: Play an audio file on the call until the required DTMF signals are gathered to build interactive menus.
- Gather using speak: Convert text to speech and play it on the call until the required DTMF signals are gathered to build interactive menus.
- Hangup call: Hang up the call.
- Reject a call: Reject an incoming call.
- Remove call from a queue: Removes the call from a queue.
- Play audio URL: Play an audio file on the call. If multiple play audio commands are issued consecutively,
- Stop audio playback: Stop audio being played on the call.
- Recording start: Start recording the call. Recording will stop on call hang-up, or can be initiated via the Stop Recording command.
- Recording stop: Stop recording the call.
- Record resume: Resume recording the call.
- Record pause: Pause recording the call. Recording can be resumed via Resume recording command.
- Send DTMF: Sends DTMF tones from this leg. DTMF tones will be heard by the other end of the call.
- SIP Refer a call: Initiate a SIP Refer on a Call Control call. You can initiate a SIP Refer at any point in the duration of a call.
- SIPREC start: Start siprec session to configured in SIPREC connector SRS.
- SIPREC stop: Stop SIPREC session.
- Speak text: Convert text to speech and play it back on the call. If multiple speak text commands are issued consecutively, the audio files will be placed in a queue awaiti…
- Streaming start: Start streaming the media from a call to a specific WebSocket address or Dialogflow connection in near-realtime. Audio will be delivered as base64-encoded RTP…
- Streaming stop: Stop streaming a call to a WebSocket.
- Noise Suppression Start (BETA)
- Noise Suppression Stop (BETA)
- Switch supervisor role: Switch the supervisor role for a bridged call. This allows switching between different supervisor modes during an active call
- Transcription start: Start real-time transcription. Transcription will stop on call hang-up, or can be initiated via the Transcription stop command.
- Transcription stop: Stop real-time transcription.
- Transfer call: Transfer a call to a new destination. If the transfer is unsuccessful, a
call.hangupwebhook for the other call (Leg B) will be sent indicating that the tran…
Callbacks
- Call Answered
- Call Deepfake Detection Error
- Call Deepfake Detection Result
- Call Initiated
- Call Streaming Failed
- Call Streaming Started
- Call Streaming Stopped
- Call Bridged
- Call Conversation Ended
- Call Conversation Insights Generated
- Call Enqueued
- Call Left Queue
- Call Fork Started
- Call Fork Stopped
- Call Dtmf Received
- Call Gather Ended
- Call AI Gather Ended
- Call AI Gather Message History Updated
- Call AI Gather Partial Results
- Call Playback Ended
- Call Playback Started
- Call Hangup
- Call Recording Saved
- Call Speak Ended
- Call Recording Error
- Call Recording Transcription Saved
- Call Refer Completed
- Call Refer Failed
- Call Refer Started
- Call Siprec Failed
- Call Siprec Started
- Call Siprec Stopped
- Call Speak Started
- Transcription
- Call Machine Detection Ended
- Call Machine Greeting Ended
- Call Machine Premium Detection Ended
- Call Machine Premium Greeting Ended
- Conference Created
- Conference Ended
- Conference Floor Changed
- Conference Participant Joined
- Conference Participant Left
- Conference Participant Playback Ended
- Conference Participant Playback Started
- Conference Participant Speak Ended
- Conference Participant Speak Started
- Conference Playback Ended
- Conference Playback Started
- Conference Recording Saved
- Conference Speak Ended
- Conference Speak Started
- TeXML AI Gather: Webhook sent when AI Gather completes with transcription results.
- TeXML Call AMD: Webhook sent when Answering Machine Detection (AMD) completes during a TeXML call.
- TeXML Call Answered: Webhook sent when a TeXML call is answered.
- TeXML Call Completed: Webhook sent when a TeXML call is completed.
- TeXML Call DTMF: Webhook sent when a DTMF digit is received during a TeXML call.
- TeXML Call Initiated: Webhook sent when a TeXML call is initiated.
- TeXML Call Ringing: Webhook sent when a TeXML call is ringing.
- TeXML Gather: Webhook sent when a Gather command completes (sent to the action URL).
- TeXML HTTP Request: Webhook sent as response to an HTTP Request instruction.
- TeXML Refer Status: Webhook sent for SIP REFER status updates.
- TeXML Conference End: Webhook sent when a TeXML conference ends.
- TeXML Conference Join: Webhook sent when a participant joins a TeXML conference.
- TeXML Conference Leave: Webhook sent when a participant leaves a TeXML conference.
- TeXML Conference Speaker: Webhook sent when a participant starts or stops speaking in a TeXML conference.
- TeXML Conference Start: Webhook sent when a TeXML conference starts.
- TeXML Recording Completed: Webhook sent when a recording is completed during a TeXML call (triggered by recordingStatusCallbackEvent).
- TeXML Recording In-Progress: Webhook sent when a recording starts during a TeXML call (triggered by recordingStatusCallbackEvent).
- TeXML Transcription: Webhook sent when a recording transcription is completed.
- TeXML SIPREC: Webhook sent for SIPREC session status updates.
- TeXML Stream: Webhook sent for media streaming status updates.
- TeXML Queue: Webhook sent for queue status events (triggered by Enqueue command waitUrl).
Conference Commands
- List conferences: Lists conferences. Conferences are created on demand, and will expire after all participants have left the conference or after 4 hours regardless of the number…
- Create conference: Create a conference from an existing call leg using a
call_control_idand a conference name. Upon creating the conference, the call will be automatically bri… - Retrieve a conference: Retrieve an existing conference
- Hold conference participants: Hold a list of participants in a conference call
- Join a conference: Join an existing call leg to a conference. Issue the Join Conference command with the conference ID in the path and the
call_control_idof the leg you wish t… - Leave a conference: Removes a call leg from a conference and moves it back to parked state.
- Mute conference participants: Mute a list of participants in a conference call
- Play audio to conference participants: Play audio to all or some participants on a conference call.
- Conference recording pause: Pause conference recording.
- Conference recording resume: Resume conference recording.
- Conference recording start: Start recording the conference. Recording will stop on conference end, or via the Stop Recording command.
- Conference recording stop: Stop recording the conference.
- Speak text to conference participants: Convert text to speech and play it to all or some participants.
- Stop audio being played on the conference: Stop audio being played to all or some participants on a conference call.
- Unhold conference participants: Unhold a list of participants in a conference call
- Unmute conference participants: Unmute a list of participants in a conference call
- Update conference participant: Update conference participant supervisor_role
- End a conference: End a conference and terminate all active participants.
- Gather DTMF using audio prompt in a conference: Play an audio file to a specific conference participant and gather DTMF input.
- Send DTMF to conference participants: Send DTMF tones to one or more conference participants.
- List conference participants: Lists conference participants
- Retrieve a conference participant: Retrieve details of a specific conference participant by their ID or label.
- Update a conference participant: Update properties of a conference participant.
TeXML Applications
- List all TeXML Applications: Returns a list of your TeXML Applications.
- Creates a TeXML Application: Creates a TeXML Application.
- Retrieve a TeXML Application: Retrieves the details of an existing TeXML Application.
- Update a TeXML Application: Updates settings of an existing TeXML Application.
- Deletes a TeXML Application: Deletes a TeXML Application.
TeXML REST Commands
- Fetch multiple call resources: Returns multiple call resouces for an account. This endpoint is eventually consistent.
- Initiate an outbound call: Initiate an outbound TeXML call. Telnyx will request TeXML from the XML Request URL configured for the connection in the Mission Control Portal.
- Fetch a call: Returns an individual call identified by its CallSid. This endpoint is eventually consistent.
- Update call: Update TeXML call. Please note that the keys present in the payload MUST BE formatted in CamelCase as specified in the example.
- Initiate an outbound AI call: Initiate an outbound AI call with warm-up support. Validates parameters, builds an internal TeXML with an AI Assistant configuration, encodes instructions into…
- List conference resources: Lists conference resources.
- Fetch a conference resource: Returns a conference resource.
- Update a conference resource: Updates a conference resource.
- List conference participants: Lists conference participants
- Dial a new conference participant: Dials a new conference participant
- Get conference participant resource: Gets conference participant resource
- Update a conference participant: Updates a conference participant
- Delete a conference participant: Deletes a conference participant
- Fetch multiple recording resources: Returns multiple recording resources for an account.
- Fetch recording resource: Returns recording resource identified by recording id.
- Delete recording resource: Deletes recording resource identified by recording id.
- Fetch recordings for a call: Returns recordings for a call identified by call_sid.
- Request recording for a call: Starts recording with specified parameters for call idientified by call_sid.
- Update recording on a call: Updates recording resource for particular call.
- List conference recordings: Lists conference recordings
- Fetch recordings for a conference: Returns recordings for a conference identified by conference_sid.
- List recording transcriptions: Returns multiple recording transcription resources for an account.
- Fetch a recording transcription resource: Returns the recording transcription resource identified by its ID.
- Delete a recording transcription: Permanently deletes a recording transcription.
- Request siprec session for a call: Starts siprec session with specified parameters for call idientified by call_sid.
- Updates siprec session for a call: Updates siprec session identified by siprec_sid.
- Start streaming media from a call.: Starts streaming media from a call to a specific WebSocket address.
- Update streaming on a call: Updates streaming resource for particular call.
- List queue resources: Lists queue resources.
- Create a new queue: Creates a new queue resource.
- Fetch a queue resource: Returns a queue resource.
- Update a queue resource: Updates a queue resource.
- Delete a queue resource: Delete a queue resource.
- Create a TeXML secret: Create a TeXML secret which can be later used as a Dynamic Parameter for TeXML when using Mustache Templates in your TeXML. In your TeXML you will be able to u…
Connections
- List connections: Returns a list of your connections irrespective of type.
- Retrieve a connection: Retrieves the high-level details of an existing connection. To retrieve specific authentication information, use the endpoint for the specific connection type.
Credential Connections
- List credential connections: Returns a list of your credential connections.
- Create a credential connection: Creates a credential connection.
- Retrieve a credential connection: Retrieves the details of an existing credential connection.
- Update a credential connection: Updates settings of an existing credential connection.
- Delete a credential connection: Deletes an existing credential connection.
- Check a Credential Connection Registration Status: Checks the registration_status for a credential connection, (
registration_status) as well as the timestamp for the last SIP registration event (`registration…
IPs
- List Ips: Get all IPs belonging to the user that match the given filters.
- Create an Ip: Create a new IP object.
- Retrieve an Ip: Return the details regarding a specific IP.
- Update an Ip: Update the details of a specific IP.
- Delete an Ip: Delete an IP.
IP Connections
- List Ip connections: Returns a list of your IP connections.
- Create an Ip connection: Creates an IP connection.
- Retrieve an Ip connection: Retrieves the details of an existing ip connection.
- Update an Ip connection: Updates settings of an existing IP connection.
- Delete an Ip connection: Deletes an existing IP connection.
FQDNs
- List FQDNs: Get all FQDNs belonging to the user that match the given filters.
- Create an FQDN: Create a new FQDN object.
- Retrieve an FQDN: Return the details regarding a specific FQDN.
- Update an FQDN: Update the details of a specific FQDN.
- Delete an FQDN: Delete an FQDN.
FQDN Connections
- List FQDN connections: Returns a list of your FQDN connections.
- Create an FQDN connection: Creates a FQDN connection.
- Retrieve an FQDN connection: Retrieves the details of an existing FQDN connection.
- Update an FQDN connection: Updates settings of an existing FQDN connection.
- Delete an FQDN connection: Deletes an FQDN connection.
UAC Connections
- List UAC connections: Returns a list of your UAC connections. A UAC (User Agent Client) Connection registers Telnyx to your PBX — the opposite of a standard SIP trunk, where the PBX…
- Create a UAC connection: Creates a UAC connection. A UAC (User Agent Client) Connection registers Telnyx to your PBX — the opposite of a standard SIP trunk, where the PBX registers to…
- Retrieve a UAC connection: Retrieves the details of an existing UAC connection.
- Update a UAC connection: Updates settings of an existing UAC connection.
- Delete a UAC connection: Deletes an existing UAC connection.
- Check a UAC Connection Registration Status: Checks the registration status for a UAC connection (
registration_status) as well as the timestamp for the last SIP registration event (`registration_status_… - SIP Registration Status: Returns the live SIP registration state of a UAC connection: whether it is currently registered, when it last registered, and the last response Telnyx received…
Outbound Voice Profiles
- Get all outbound voice profiles: Get all outbound voice profiles belonging to the user that match the given filters.
- Create an outbound voice profile: Create an outbound voice profile.
- Retrieve an outbound voice profile: Retrieves the details of an existing outbound voice profile.
- Updates an existing outbound voice profile.: Updates an existing outbound voice profile.
- Delete an outbound voice profile: Deletes an existing outbound voice profile.
Dialogflow Integration
- Retrieve stored Dialogflow Connection: Return details of the Dialogflow connection associated with the given CallControl connection.
- Create a Dialogflow Connection: Save Dialogflow Credentiails to Telnyx, so it can be used with other Telnyx services.
- Update stored Dialogflow Connection: Updates a stored Dialogflow Connection.
- Delete stored Dialogflow Connection: Deletes a stored Dialogflow Connection.
External Connections
- List all External Connections: This endpoint returns a list of your External Connections inside the ‘data’ attribute of the response. External Connections are used by Telnyx customers to sea…
- Creates an External Connection: Creates a new External Connection based on the parameters sent in the request. The external_sip_connection and outbound voice profile id are required. Once cre…
- Retrieve an External Connection: Return the details of an existing External Connection inside the ‘data’ attribute of the response.
- Update an External Connection: Updates settings of an existing External Connection based on the parameters of the request.
- Deletes an External Connection: Permanently deletes an External Connection. Deletion may be prevented if the application is in use by phone numbers, is active, or if it is an Operator Connect…
- List all civic addresses and locations: Returns the civic addresses and locations from Microsoft Teams.
- Retrieve a Civic Address: Return the details of an existing Civic Address with its Locations inside the ‘data’ attribute of the response.
- Update a location’s static emergency address
- List all phone numbers: Returns a list of all active phone numbers associated with the given external connection.
- Retrieve a phone number: Return the details of a phone number associated with the given external connection.
- Update a phone number: Asynchronously update settings of the phone number associated with the given external connection.
- List all Releases: Returns a list of your Releases for the given external connection. These are automatically created when you change the
connection_idof a phone number that i… - Retrieve a Release request: Return the details of a Release request and its phone numbers.
- List all Upload requests: Returns a list of your Upload requests for the given external connection.
- Creates an Upload request: Creates a new Upload request to Microsoft teams with the included phone numbers. Only one of civic_address_id or location_id must be provided, not both. The ma…
- Refresh the status of all Upload requests: Forces a recheck of the status of all pending Upload requests for the given external connection in the background.
- Get the count of pending upload requests: Returns the count of all pending upload requests for the given external connection.
- Retrieve an Upload request: Return the details of an Upload request and its phone numbers.
- Retry an Upload request: If there were any errors during the upload process, this endpoint will retry the upload request. In some cases this will reattempt the existing upload request,…
- List all log messages: Retrieve a list of log messages for all external connections associated with your account.
- Retrieve a log message: Retrieve a log message for an external connection associated with your account.
- Dismiss a log message: Dismiss a log message for an external connection associated with your account.
- Refresh Operator Connect integration: This endpoint will make an asynchronous request to refresh the Operator Connect integration with Microsoft Teams for the current user. This will create new ext…
Call Recordings
- List all call recordings: Returns a list of your call recordings.
- Retrieve a call recording: Retrieves the details of an existing call recording.
- Delete a call recording: Permanently deletes a call recording.
- Delete a list of call recordings: Permanently deletes a list of call recordings.
- List all recording transcriptions: Returns a list of your recording transcriptions.
- Retrieve a recording transcription: Retrieves the details of an existing recording transcription.
- Delete a recording transcription: Permanently deletes a recording transcription.
- Retrieve a stored credential: Returns the information about custom storage credentials.
- Create a custom storage credential: Creates a custom storage credentials configuration.
- Update a stored credential: Updates a stored custom credentials configuration.
- Delete a stored credential: Deletes a stored custom credentials configuration.
Media Storage API
- List uploaded media: Returns a list of stored media files.
- Upload media: Upload media file to Telnyx so it can be used with other Telnyx services
- Retrieve stored media: Returns the information about a stored media file.
- Update stored media: Updates a stored media file.
- Deletes stored media: Deletes a stored media file.
- Download stored media: Downloads a stored media file.
Credentials
- List all credentials: List all On-demand Credentials.
- Create a credential: Create a credential.
- Get a credential: Get the details of an existing On-demand Credential.
- Update a credential: Update an existing credential.
- Delete a credential: Delete an existing credential.
Access Tokens
- Create an Access Token.: Create an Access Token (JWT) for the credential.
Push Credentials
- List mobile push credentials: List mobile push credentials
- Creates a new mobile push credential: Creates a new mobile push credential
- Retrieves a mobile push credential: Retrieves mobile push credential based on the given
push_credential_id - Deletes a mobile push credential: Deletes a mobile push credential based on the given
push_credential_id
Voice SDK Stats
- List Voice SDK call reports: Returns paginated raw call report stats JSON payloads stored for the authenticated user. The user is derived from Telnyx authentication, not from request param…
- Retrieve Voice SDK call reports by call ID: Returns raw call report stats JSON payloads stored for the authenticated user and
call_id. The user is derived from Telnyx authentication, not from request p…
Enterprises
- List enterprises: Return the enterprises you own, paginated. The default page size is 20; the maximum is 250.
- Create an enterprise: Create the legal entity (enterprise) that represents your business on the Telnyx platform.
- Get an enterprise: Retrieve a single enterprise by id. Returns
404if the id does not exist or does not belong to your account. - Replace an enterprise: Replace the enterprise’s mutable fields. Only mutable fields may be sent. Server-assigned and immutable fields (
id,record_type,created_at,updated_at… - Delete an enterprise: Soft-delete an enterprise.
- Activate Branded Calling on an enterprise: Branded Calling is a paid product that must be activated on each enterprise. Activation is idempotent:
Display Identity Records
- List DIRs in an enterprise: Return the DIRs (Display Identity Records) belonging to a single enterprise. Pagination is JSON:API style (
page[number],page[size], max 250). Supports `fi… - Create a Display Identity Record (DIR): Create a new DIR under the given enterprise. The DIR starts in
draftstatus; it must be submitted (POST .../submit) and approved by Telnyx before any phone… - List all DIRs across your enterprises: Returns every DIR (Display Identity Record) you own, across all of your enterprises, as a single list. Pagination is JSON:API style (
page[number], `page[size… - Get a DIR by id: Returns a single DIR by id. The enterprise is resolved server-side from the DIR id. Returns
404if the DIR does not exist or is not yours. - Update a DIR: Edit a DIR. DIRs in
draft,rejected,unsuccessful, orsuspendedcan be edited freely: PATCH is a pure edit,statusis never changed, and you re-vet b… - Delete a DIR: Delete a DIR. Failure modes:
400if a child phone number is in a non-deletable status,409if the DIR has an unresolved infringement claim,404if the DI… - Submit a DIR for vetting: Submit a DIR for vetting. Sends the DIR back through the vetting cycle from any non-terminal status. When re-submitting from
suspendedorexpired, the DIR’… - Render the Branded Calling LOA for a DIR: Generate a pre-filled Letter of Authorization (LOA) PDF for a DIR. Enterprise identity (legal name, DBA, address, contact, website, tax id) and the DIR display…
Reference Data
- List supported DIR document types: Reference list of
document_typevalues accepted byDirCreateRequest.documents[].document_typeand the infringement-contest endpoint. Each entry has a stabl… - List standard call reasons: Telnyx maintains a library of pre-vetted call-reason phrases (e.g. “Appointment reminders”, “Billing inquiries”) that carry through DIR vetting smoothly. You c…
- Validate a list of call reasons: Check up to 10 candidate
call_reasonsstrings against Telnyx’s vetting heuristics before sending them on a DIR create or update. The endpoint flags strings t…
Comments
- List comments on a DIR: List the comments on a DIR. The enterprise is resolved server-side from the DIR id.
- Post a comment on a DIR: Post a customer comment on a DIR (for example, to respond to reviewer notes). Send only
content(1–5000 chars) and an optionalparent_comment_id; the serve…
Phone Numbers
- List phone numbers attached to a DIR: List the phone numbers registered under a DIR. The enterprise is resolved server-side from the DIR id.
- Add phone numbers to a DIR: Register phone numbers under a DIR. The enterprise is resolved server-side from the DIR id. Same body, failure modes, and batch semantics whichever path form y…
- Remove phone numbers from a DIR: Deregister phone numbers from a DIR. The enterprise is resolved server-side from the DIR id. Returns a partial-success envelope.
Phone Number Batches
- List phone-number batches for a DIR: List the phone-number batches submitted under a DIR. The enterprise is resolved server-side from the DIR id.
- Get a phone-number batch: Get a single phone-number batch by id. The enterprise is resolved server-side from the DIR id.
Infringement Claims
- List infringement claims for a DIR: Return the trademark or copyright claims filed against this DIR. Each claim’s
statusispending(newly filed; DIR auto-suspended),contested(you have su… - Update a DIR to resolve an infringement concern: Push a fix for a DIR that is
suspendedwith an open infringement claim back into vetting.POST /dir/{dir_id}/submitis blocked while a claim is open, so th… - Get an infringement claim: Retrieve a single claim by id. Returns
404if the claim does not exist or is not against a DIR you own. - Contest an infringement claim: Submit a written response and supporting documents disputing the claim. The first call moves the claim from
pendingtocontested; subsequent calls append s…
Terms of Service
- Agree to the Branded Calling Terms of Service: Records the authenticated user’s agreement to the current Branded Calling ToS. No body required. Idempotent - re-calling after agreement is a no-op and returns…
- Get Terms of Service information: Returns the available Terms of Service agreements (product, current version, terms URL, effective date). Omit
product_typeto return all products; pass it to… - Get the calling user’s Terms of Service status: Returns whether the authenticated user has agreed to the current Terms of Service for the product given by
product_type. Used during onboarding to decide whe… - List the calling user’s Terms of Service agreements: Returns the Terms of Service agreements the authenticated user has on file. Each entry records the version agreed to and when. Most users only have one agreeme…
- Get a Terms of Service agreement by id: Retrieve a single ToS agreement record. Returns
404if the agreement does not exist or does not belong to the authenticated user.