Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Build voice applications using TeXML markup language (TwiML-compatible). Manage applications, calls, conferences, recordings, queues, and streams. This skill provides JavaScript SDK examples.
.claude/skills/team-telnyx-telnyx-texml-javascript/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 510% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 371% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 298% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 958% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 447% | 0% |
<!-- Auto-generated from Telnyx OpenAPI specs. Do not edit. -->
bashnpm install telnyx@6.74.2
javascriptimport Telnyx from 'telnyx'; const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted });
All examples below assume client is already initialized as shown above.
All API calls can fail with network errors, rate limits (429), validation errors (422), or authentication errors (401). Always handle errors in production code:
javascripttry { const result = await client.messages.send({ to: '+13125550001', from: '+13125550002', text: 'Hello' }); } catch (err) { if (err instanceof Telnyx.APIConnectionError) { console.error('Network error — check connectivity and retry'); } else if (err instanceof Telnyx.RateLimitError) { // 429: rate limited — wait and retry with exponential backoff const retryAfter = err.headers?.['retry-after'] || 1; await new Promise(r => setTimeout(r, retryAfter * 1000)); } else if (err instanceof Telnyx.APIError) { console.error(`API error ${err.status}: ${err.message}`); if (err.status === 422) { console.error('Validation error — check required fields and formats'); } } }
Common error codes: 401 invalid API key, 403 insufficient permissions, 404 resource not found, 422 validation error (check field formats), 429 rate limited (retry with exponential backoff).
for await (const item of result) { ... } to iterate through all pages automatically.Returns multiple call resources for an account. This endpoint is eventually consistent.
GET /texml/Accounts/{account_sid}/Calls
javascriptconst response = await client.texml.accounts.calls.retrieveCalls('account_sid'); console.log(response.calls);
Returns: calls (arrayobject]), end (integer), first_page_uri (string), next_page_uri (string), page (integer), page_size (integer), start (integer), uri (string)
Initiate an outbound TeXML call. Telnyx will request TeXML from the XML Request URL configured for the connection in the Mission Control Portal.
POST /texml/Accounts/{account_sid}/Calls — Required: Url
Optional: Texml (object)
javascriptconst response = await client.texml.accounts.calls.calls('account_sid', { params: { Url: 'https://www.example.com/texml.xml' }, }); console.log(response.from);
Returns: from (string), status (string), to (string)
Returns an individual call identified by its CallSid. This endpoint is eventually consistent.
GET /texml/Accounts/{account_sid}/Calls/{call_sid}
javascriptconst call = await client.texml.accounts.calls.retrieve('call_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000' }); console.log(call.account_sid);
Returns: account_sid (string), answered_by (enum: human, machine, not_sure), caller_name (string), date_created (string), date_updated (string), direction (enum: inbound, outbound), duration (string), end_time (string), from (string), from_formatted (string), price (string), price_unit (string), sid (string), start_time (string), status (enum: ringing, in-progress, canceled, completed, failed, busy, no-answer), to (string), to_formatted (string), uri (string)
Update TeXML call. Please note that the keys present in the payload MUST BE formatted in CamelCase as specified in the example.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}
javascriptconst call = await client.texml.accounts.calls.update('call_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000' }); console.log(call.account_sid);
Returns: account_sid (string), answered_by (enum: human, machine, not_sure), caller_name (string), date_created (string), date_updated (string), direction (enum: inbound, outbound), duration (string), end_time (string), from (string), from_formatted (string), price (string), price_unit (string), sid (string), start_time (string), status (enum: ringing, in-progress, canceled, completed, failed, busy, no-answer), to (string), to_formatted (string), uri (string)
Returns recordings for a call identified by call_sid.
GET /texml/Accounts/{account_sid}/Calls/{call_sid}/Recordings.json
javascriptconst response = await client.texml.accounts.calls.recordingsJson.retrieveRecordingsJson( 'call_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000' }, ); console.log(response.end);
Returns: end (integer), first_page_uri (uri), next_page_uri (string), page (integer), page_size (integer), previous_page_uri (uri), recordings (arrayobject]), start (integer), uri (string)
Starts recording with specified parameters for call identified by call_sid.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Recordings.json
javascriptconst response = await client.texml.accounts.calls.recordingsJson.recordingsJson('call_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000', }); console.log(response.account_sid);
Returns: account_sid (string), call_sid (string), channels (enum: 1, 2), conference_sid (uuid), date_created (date-time), date_updated (date-time), duration (string | null), error_code (string | null), price (string | null), price_unit (string | null), sid (string), source (enum: StartCallRecordingAPI, StartConferenceRecordingAPI, OutboundAPI, DialVerb, Conference, RecordVerb, Trunking), start_time (date-time), track (enum: inbound, outbound, both), uri (string)
Updates recording resource for particular call.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Recordings/{recording_sid}.json
javascriptconst response = await client.texml.accounts.calls.recordings.recordingSidJson( '6a09cdc3-8948-47f0-aa62-74ac943d6c58', { account_sid: '550e8400-e29b-41d4-a716-446655440000', call_sid: '550e8400-e29b-41d4-a716-446655440000' }, ); console.log(response.account_sid);
Returns: account_sid (string), call_sid (string), channels (enum: 1, 2), conference_sid (uuid), date_created (date-time), date_updated (date-time), duration (string | null), error_code (string | null), price (string | null), price_unit (string | null), sid (string), source (enum: StartCallRecordingAPI, StartConferenceRecordingAPI, OutboundAPI, DialVerb, Conference, RecordVerb, Trunking), start_time (date-time), track (enum: inbound, outbound, both), uri (string)
Starts siprec session with specified parameters for call identified by call_sid.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Siprec.json
javascriptconst response = await client.texml.accounts.calls.siprecJson('call_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000', }); console.log(response.account_sid);
Returns: account_sid (string), call_sid (string), date_created (string), date_updated (string), error_code (string), sid (string), start_time (string), status (enum: in-progress, stopped), track (enum: both_tracks, inbound_track, outbound_track), uri (string)
Updates siprec session identified by siprec_sid.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Siprec/{siprec_sid}.json
javascriptconst response = await client.texml.accounts.calls.siprec.siprecSidJson('siprec_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000', call_sid: '550e8400-e29b-41d4-a716-446655440000', }); console.log(response.account_sid);
Returns: account_sid (string), call_sid (string), date_updated (string), error_code (string), sid (string), status (enum: in-progress, stopped), uri (string)
Starts streaming media from a call to a specific WebSocket address.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Streams.json
javascriptconst response = await client.texml.accounts.calls.streamsJson('call_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000', }); console.log(response.account_sid);
Returns: account_sid (string), call_sid (string), date_updated (date-time), name (string), sid (string), status (enum: in-progress), uri (string)
Updates streaming resource for particular call.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Streams/{streaming_sid}.json
javascriptconst response = await client.texml.accounts.calls.streams.streamingSidJson( '6a09cdc3-8948-47f0-aa62-74ac943d6c58', { account_sid: '550e8400-e29b-41d4-a716-446655440000', call_sid: '550e8400-e29b-41d4-a716-446655440000' }, ); console.log(response.account_sid);
Returns: account_sid (string), call_sid (string), date_updated (date-time), sid (string), status (enum: stopped), uri (string)
Lists conference resources.
GET /texml/Accounts/{account_sid}/Conferences
javascriptconst response = await client.texml.accounts.conferences.retrieveConferences('account_sid'); console.log(response.conferences);
Returns: conferences (arrayobject]), end (integer), first_page_uri (string), next_page_uri (string), page (integer), page_size (integer), start (integer), uri (string)
Returns a conference resource.
GET /texml/Accounts/{account_sid}/Conferences/{conference_sid}
javascriptconst conference = await client.texml.accounts.conferences.retrieve('conference_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000', }); console.log(conference.account_sid);
Returns: account_sid (string), api_version (string), call_sid_ending_conference (string), date_created (string), date_updated (string), friendly_name (string), reason_conference_ended (enum: participant-with-end-conference-on-exit-left, last-participant-left, conference-ended-via-api, time-exceeded), region (string), sid (string), status (enum: init, in-progress, completed), subresource_uris (object), uri (string)
Updates a conference resource.
POST /texml/Accounts/{account_sid}/Conferences/{conference_sid}
javascriptconst conference = await client.texml.accounts.conferences.update('conference_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000', }); console.log(conference.account_sid);
Returns: account_sid (string), api_version (string), call_sid_ending_conference (string), date_created (string), date_updated (string), friendly_name (string), reason_conference_ended (enum: participant-with-end-conference-on-exit-left, last-participant-left, conference-ended-via-api, time-exceeded), region (string), sid (string), status (enum: init, in-progress, completed), subresource_uris (object), uri (string)
Lists conference participants
GET /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants
javascriptconst response = await client.texml.accounts.conferences.participants.retrieveParticipants( 'conference_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000' }, ); console.log(response.end);
Returns: end (integer), first_page_uri (string), next_page_uri (string), page (integer), page_size (integer), participants (arrayobject]), start (integer), uri (string)
Dials a new conference participant
POST /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants
javascriptconst response = await client.texml.accounts.conferences.participants.participants( 'conference_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000' }, ); console.log(response.account_sid);
Returns: account_sid (string), call_sid (string), coaching (boolean), coaching_call_sid (string), conference_sid (uuid), end_conference_on_exit (boolean), hold (boolean), muted (boolean), status (enum: connecting, connected, completed), uri (string)
Gets conference participant resource
GET /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants/{call_sid_or_participant_label}
javascriptconst participant = await client.texml.accounts.conferences.participants.retrieve( 'call_sid_or_participant_label', { account_sid: '550e8400-e29b-41d4-a716-446655440000', conference_sid: '550e8400-e29b-41d4-a716-446655440000' }, ); console.log(participant.account_sid);
Returns: account_sid (string), api_version (string), call_sid (string), call_sid_legacy (string), coaching (boolean), coaching_call_sid (string), coaching_call_sid_legacy (string), conference_sid (uuid), date_created (string), date_updated (string), end_conference_on_exit (boolean), hold (boolean), muted (boolean), status (enum: connecting, connected, completed), uri (string)
Updates a conference participant
POST /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants/{call_sid_or_participant_label}
javascriptconst participant = await client.texml.accounts.conferences.participants.update( 'call_sid_or_participant_label', { account_sid: '550e8400-e29b-41d4-a716-446655440000', conference_sid: '550e8400-e29b-41d4-a716-446655440000' }, ); console.log(participant.account_sid);
Returns: account_sid (string), api_version (string), call_sid (string), call_sid_legacy (string), coaching (boolean), coaching_call_sid (string), coaching_call_sid_legacy (string), conference_sid (uuid), date_created (string), date_updated (string), end_conference_on_exit (boolean), hold (boolean), muted (boolean), status (enum: connecting, connected, completed), uri (string)
Deletes a conference participant
DELETE /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants/{call_sid_or_participant_label}
javascriptawait client.texml.accounts.conferences.participants.delete('call_sid_or_participant_label', { account_sid: '550e8400-e29b-41d4-a716-446655440000', conference_sid: '550e8400-e29b-41d4-a716-446655440000', });
Lists conference recordings
GET /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Recordings
javascriptconst response = await client.texml.accounts.conferences.retrieveRecordings('conference_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000', }); console.log(response.end);
Returns: end (integer), first_page_uri (string), next_page_uri (string), page (integer), page_size (integer), participants (arrayobject]), recordings (arrayobject]), start (integer), uri (string)
Returns recordings for a conference identified by conference_sid.
GET /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Recordings.json
javascriptconst response = await client.texml.accounts.conferences.retrieveRecordingsJson('conference_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000', }); console.log(response.end);
Returns: end (integer), first_page_uri (uri), next_page_uri (string), page (integer), page_size (integer), previous_page_uri (uri), recordings (arrayobject]), start (integer), uri (string)
Lists queue resources.
GET /texml/Accounts/{account_sid}/Queues
javascript// Automatically fetches more pages as needed. for await (const queueListResponse of client.texml.accounts.queues.list('account_sid')) { console.log(queueListResponse.account_sid); }
Returns: end (integer), first_page_uri (string), next_page_uri (string), page (integer), page_size (integer), queues (arrayobject]), start (integer), uri (string)
Creates a new queue resource.
POST /texml/Accounts/{account_sid}/Queues
javascriptconst queue = await client.texml.accounts.queues.create('account_sid'); console.log(queue.account_sid);
Returns: account_sid (string), average_wait_time (integer), current_size (integer), date_created (string), date_updated (string), max_size (integer), sid (string), subresource_uris (object), uri (string)
Returns a queue resource.
GET /texml/Accounts/{account_sid}/Queues/{queue_sid}
javascriptconst queue = await client.texml.accounts.queues.retrieve('queue_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000', }); console.log(queue.account_sid);
Returns: account_sid (string), average_wait_time (integer), current_size (integer), date_created (string), date_updated (string), max_size (integer), sid (string), subresource_uris (object), uri (string)
Updates a queue resource.
POST /texml/Accounts/{account_sid}/Queues/{queue_sid}
javascriptconst queue = await client.texml.accounts.queues.update('queue_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000', }); console.log(queue.account_sid);
Returns: account_sid (string), average_wait_time (integer), current_size (integer), date_created (string), date_updated (string), max_size (integer), sid (string), subresource_uris (object), uri (string)
Delete a queue resource.
DELETE /texml/Accounts/{account_sid}/Queues/{queue_sid}
javascriptawait client.texml.accounts.queues.delete('queue_sid', { account_sid: '550e8400-e29b-41d4-a716-446655440000' });
Returns multiple recording resources for an account.
GET /texml/Accounts/{account_sid}/Recordings.json
javascriptconst response = await client.texml.accounts.retrieveRecordingsJson('account_sid'); console.log(response.end);
Returns: end (integer), first_page_uri (uri), next_page_uri (string), page (integer), page_size (integer), previous_page_uri (uri), recordings (arrayobject]), start (integer), uri (string)
Returns recording resource identified by recording id.
GET /texml/Accounts/{account_sid}/Recordings/{recording_sid}.json
javascriptconst texmlGetCallRecordingResponseBody = await client.texml.accounts.recordings.json.retrieveRecordingSidJson( '6a09cdc3-8948-47f0-aa62-74ac943d6c58', { account_sid: '550e8400-e29b-41d4-a716-446655440000' }, ); console.log(texmlGetCallRecordingResponseBody.account_sid);
Returns: account_sid (string), call_sid (string), channels (enum: 1, 2), conference_sid (uuid), date_created (date-time), date_updated (date-time), duration (string | null), error_code (string | null), media_url (uri), sid (string), source (enum: StartCallRecordingAPI, StartConferenceRecordingAPI, OutboundAPI, DialVerb, Conference, RecordVerb, Trunking), start_time (date-time), status (enum: in-progress, completed, paused, stopped), subresources_uris (object), uri (string)
Deletes recording resource identified by recording id.
DELETE /texml/Accounts/{account_sid}/Recordings/{recording_sid}.json
javascriptawait client.texml.accounts.recordings.json.deleteRecordingSidJson( '6a09cdc3-8948-47f0-aa62-74ac943d6c58', { account_sid: '550e8400-e29b-41d4-a716-446655440000' }, );
Returns multiple recording transcription resources for an account.
GET /texml/Accounts/{account_sid}/Transcriptions.json
javascriptconst response = await client.texml.accounts.retrieveTranscriptionsJson('account_sid'); console.log(response.end);
Returns: end (integer), first_page_uri (uri), next_page_uri (string), page (integer), page_size (integer), previous_page_uri (uri), start (integer), transcriptions (arrayobject]), uri (string)
Returns the recording transcription resource identified by its ID.
GET /texml/Accounts/{account_sid}/Transcriptions/{recording_transcription_sid}.json
javascriptconst response = await client.texml.accounts.transcriptions.json.retrieveRecordingTranscriptionSidJson( '6a09cdc3-8948-47f0-aa62-74ac943d6c58', { account_sid: '550e8400-e29b-41d4-a716-446655440000' }, ); console.log(response.account_sid);
Returns: account_sid (string), api_version (string), call_sid (string), date_created (date-time), date_updated (date-time), duration (string | null), recording_sid (string), sid (string), status (enum: in-progress, completed), transcription_text (string), uri (string)
Permanently deletes a recording transcription.
DELETE /texml/Accounts/{account_sid}/Transcriptions/{recording_transcription_sid}.json
javascriptawait client.texml.accounts.transcriptions.json.deleteRecordingTranscriptionSidJson( '6a09cdc3-8948-47f0-aa62-74ac943d6c58', { account_sid: '550e8400-e29b-41d4-a716-446655440000' }, );
Initiate an outbound AI call with warm-up support. Validates parameters, builds an internal TeXML with an AI Assistant configuration, encodes instructions into client state, and calls the dial API. The Twiml, Texml, and Url parameters are not allowed and will result in a 422 error.
POST /texml/ai_calls/{connection_id} — Required: From, To, AIAssistantId
Optional: AIAssistantDynamicVariables (object), AIAssistantVersion (string), AsyncAmd (boolean), AsyncAmdStatusCallback (string), AsyncAmdStatusCallbackMethod (enum: GET, POST), CallerId (string), ConversationCallback (string), ConversationCallbackMethod (enum: GET, POST), ConversationCallbacks (arraystring]), CustomHeaders (arrayobject]), DetectionMode (enum: Premium, Regular, PremiumCallScreening), MachineDetection (enum: Enable, Disable, DetectMessageEnd), MachineDetectionPromptEndTimeout (integer), MachineDetectionSilenceTimeout (integer), MachineDetectionSpeechEndThreshold (integer), MachineDetectionSpeechThreshold (integer), MachineDetectionTimeout (integer), Passports (string), PreferredCodecs (string), Record (boolean), RecordingChannels (enum: mono, dual), RecordingStatusCallback (string), RecordingStatusCallbackEvent (string), RecordingStatusCallbackMethod (enum: GET, POST), RecordingTimeout (integer), RecordingTrack (enum: inbound, outbound, both), SendRecordingUrl (boolean), SipAuthPassword (string), SipAuthUsername (string), SipRegion (enum: US, Europe, Canada, Australia, Middle East), StatusCallback (string), StatusCallbackEvent (string), StatusCallbackMethod (enum: GET, POST), StatusCallbacks (arraystring]), TimeLimit (integer), Timeout (integer), Trim (enum: trim-silence, do-not-trim)
javascriptconst response = await client.texml.initiateAICall('connection_id', { AIAssistantId: 'ai-assistant-id-123', From: '+13120001234', To: '+13121230000', }); console.log(response.call_sid);
Returns: call_sid (string), from (string), status (string), to (string)
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 use your secret name, and this name will be replaced by the actual secret value when processing the TeXML on Telnyx side. The secrets are not visible in any logs.
POST /texml/secrets — Required: name, value
javascriptconst response = await client.texml.secrets({ name: 'My Secret Name', value: 'My Secret Value' }); console.log(response.data);
Returns: name (string), value (enum: REDACTED)
Returns a list of your TeXML Applications.
GET /texml_applications
javascript// Automatically fetches more pages as needed. for await (const texmlApplication of client.texmlApplications.list()) { console.log(texmlApplication.id); }
Returns: active (boolean), anchorsite_override (enum: Latency, Chicago, IL, Ashburn, VA, San Jose, CA, Sydney, Australia, Amsterdam, Netherlands, London, UK, Toronto, Canada, Vancouver, Canada, Frankfurt, Germany), call_cost_in_webhooks (boolean), created_at (string), dtmf_type (enum: RFC 2833, Inband, SIP INFO), first_command_timeout (boolean), first_command_timeout_secs (integer), friendly_name (string), id (string), inbound (object), outbound (object), record_type (string), status_callback (uri), status_callback_method (enum: get, post), tags (arraystring]), updated_at (string), voice_fallback_url (uri), voice_method (enum: get, post), voice_url (uri)
Creates a TeXML Application.
POST /texml_applications — Required: friendly_name, voice_url
Optional: active (boolean), anchorsite_override (enum: Latency, Chicago, IL, Ashburn, VA, San Jose, CA, Sydney, Australia, Amsterdam, Netherlands, London, UK, Toronto, Canada, Vancouver, Canada, Frankfurt, Germany), call_cost_in_webhooks (boolean), dtmf_type (enum: RFC 2833, Inband, SIP INFO), first_command_timeout (boolean), first_command_timeout_secs (integer), inbound (object), outbound (object), status_callback (uri), status_callback_method (enum: get, post), tags (arraystring]), voice_fallback_url (uri), voice_method (enum: get, post)
javascriptconst texmlApplication = await client.texmlApplications.create({ friendly_name: 'call-router', voice_url: 'https://example.com', }); console.log(texmlApplication.data);
Returns: active (boolean), anchorsite_override (enum: Latency, Chicago, IL, Ashburn, VA, San Jose, CA, Sydney, Australia, Amsterdam, Netherlands, London, UK, Toronto, Canada, Vancouver, Canada, Frankfurt, Germany), call_cost_in_webhooks (boolean), created_at (string), dtmf_type (enum: RFC 2833, Inband, SIP INFO), first_command_timeout (boolean), first_command_timeout_secs (integer), friendly_name (string), id (string), inbound (object), outbound (object), record_type (string), status_callback (uri), status_callback_method (enum: get, post), tags (arraystring]), updated_at (string), voice_fallback_url (uri), voice_method (enum: get, post), voice_url (uri)
Retrieves the details of an existing TeXML Application.
GET /texml_applications/{id}
javascriptconst texmlApplication = await client.texmlApplications.retrieve('1293384261075731499'); console.log(texmlApplication.data);
Returns: active (boolean), anchorsite_override (enum: Latency, Chicago, IL, Ashburn, VA, San Jose, CA, Sydney, Australia, Amsterdam, Netherlands, London, UK, Toronto, Canada, Vancouver, Canada, Frankfurt, Germany), call_cost_in_webhooks (boolean), created_at (string), dtmf_type (enum: RFC 2833, Inband, SIP INFO), first_command_timeout (boolean), first_command_timeout_secs (integer), friendly_name (string), id (string), inbound (object), outbound (object), record_type (string), status_callback (uri), status_callback_method (enum: get, post), tags (arraystring]), updated_at (string), voice_fallback_url (uri), voice_method (enum: get, post), voice_url (uri)
Updates settings of an existing TeXML Application.
PATCH /texml_applications/{id} — Required: friendly_name, voice_url
Optional: active (boolean), anchorsite_override (enum: Latency, Chicago, IL, Ashburn, VA, San Jose, CA, Sydney, Australia, Amsterdam, Netherlands, London, UK, Toronto, Canada, Vancouver, Canada, Frankfurt, Germany), call_cost_in_webhooks (boolean), dtmf_type (enum: RFC 2833, Inband, SIP INFO), first_command_timeout (boolean), first_command_timeout_secs (integer), inbound (object), outbound (object), status_callback (uri), status_callback_method (enum: get, post), tags (arraystring]), voice_fallback_url (uri), voice_method (enum: get, post)
javascriptconst texmlApplication = await client.texmlApplications.update('1293384261075731499', { friendly_name: 'call-router', voice_url: 'https://example.com', }); console.log(texmlApplication.data);
Returns: active (boolean), anchorsite_override (enum: Latency, Chicago, IL, Ashburn, VA, San Jose, CA, Sydney, Australia, Amsterdam, Netherlands, London, UK, Toronto, Canada, Vancouver, Canada, Frankfurt, Germany), call_cost_in_webhooks (boolean), created_at (string), dtmf_type (enum: RFC 2833, Inband, SIP INFO), first_command_timeout (boolean), first_command_timeout_secs (integer), friendly_name (string), id (string), inbound (object), outbound (object), record_type (string), status_callback (uri), status_callback_method (enum: get, post), tags (arraystring]), updated_at (string), voice_fallback_url (uri), voice_method (enum: get, post), voice_url (uri)
Deletes a TeXML Application.
DELETE /texml_applications/{id}
javascriptconst texmlApplication = await client.texmlApplications.delete('1293384261075731499'); console.log(texmlApplication.data);
Returns: active (boolean), anchorsite_override (enum: Latency, Chicago, IL, Ashburn, VA, San Jose, CA, Sydney, Australia, Amsterdam, Netherlands, London, UK, Toronto, Canada, Vancouver, Canada, Frankfurt, Germany), call_cost_in_webhooks (boolean), created_at (string), dtmf_type (enum: RFC 2833, Inband, SIP INFO), first_command_timeout (boolean), first_command_timeout_secs (integer), friendly_name (string), id (string), inbound (object), outbound (object), record_type (string), status_callback (uri), status_callback_method (enum: get, post), tags (arraystring]), updated_at (string), voice_fallback_url (uri), voice_method (enum: get, post), voice_url (uri)
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-05 | pass→fail | 13,883 | 7,704 | -45% | 1 | 1 | 0% | 2,745 | 11,474 | +318% | 0 | 0 | — |
case-01 | fail→pass | 10,556 | 5,558 | -47% | 1 | 1 | 0% | 1,812 | 11,048 | +510% | 0 | 0 | — |
case-02 | fail→pass | 11,784 | 4,511 | -62% | 1 | 1 | 0% | 2,308 | 10,869 | +371% | 0 | 0 | — |
case-03 | fail→pass | 13,974 | 5,947 | -57% | 1 | 1 | 0% | 2,829 | 11,259 | +298% | 0 | 0 | — |
case-04 | fail→pass | 5,074 | 4,563 | -10% | 1 | 1 | 0% | 1,034 | 10,942 | +958% | 0 | 0 | — |
case-06 | pass→pass | 6,505 | 5,660 | -13% | 1 | 1 | 0% | 1,268 | 11,051 | +772% | 0 | 0 | — |
case-07 | fail→pass | 31,986 | 4,151 | -87% | 1 | 1 | 0% | 1,970 | 10,769 | +447% | 0 | 0 | — |
case-08 | fail→pass | 10,414 | 5,404 | -48% | 1 | 1 | 0% | 2,032 | 10,733 | +428% | 0 | 0 | — |
case-09 | fail→pass | 8,972 | 3,387 | -62% | 1 | 1 | 0% | 1,805 | 10,643 | +490% | 0 | 0 | — |
case-10 | fail→pass | 35,664 | 5,110 | -86% | 1 | 1 | 0% | 1,726 | 10,986 | +537% | 0 | 0 | — |
case-11 | fail→pass | 7,831 | 5,393 | -31% | 1 | 1 | 0% | 1,550 | 10,978 | +608% | 0 | 0 | — |
case-12 | fail→pass | 10,697 | 3,789 | -65% | 1 | 1 | 0% | 2,029 | 10,635 | +424% | 0 | 0 | — |
case-13 | fail→pass | 6,389 | 3,488 | -45% | 1 | 1 | 0% | 1,201 | 10,637 | +786% | 0 | 0 | — |
case-14 | fail→pass | 6,248 | 3,076 | -51% | 1 | 1 | 0% | 1,066 | 10,512 | +886% | 0 | 0 | — |
case-15 | fail→pass | 6,774 | 3,684 | -46% | 1 | 1 | 0% | 1,293 | 10,686 | +726% | 0 | 0 | — |
case-16 | fail→pass | 12,140 | 4,127 | -66% | 1 | 1 | 0% | 2,266 | 10,774 | +375% | 0 | 0 | — |
case-17 | fail→pass | 8,210 | 2,602 | -68% | 1 | 1 | 0% | 1,514 | 10,365 | +585% | 0 | 0 | — |
case-18 | fail→pass | 9,605 | 3,213 | -67% | 1 | 1 | 0% | 1,775 | 10,608 | +498% | 0 | 0 | — |
case-19 | fail→pass | 9,165 | 3,567 | -61% | 1 | 1 | 0% | 1,798 | 10,674 | +494% | 0 | 0 | — |
case-20 | fail→pass | 4,455 | 3,129 | -30% | 1 | 1 | 0% | 875 | 10,576 | +1109% | 0 | 0 | — |
case-21 | fail→pass | 9,993 | 2,663 | -73% | 1 | 1 | 0% | 2,029 | 10,515 | +418% | 0 | 0 | — |
case-22 | fail→pass | 6,324 | 2,816 | -55% | 1 | 1 | 0% | 1,158 | 10,461 | +803% | 0 | 0 | — |
case-23 | fail→pass | 6,167 | 3,123 | -49% | 1 | 1 | 0% | 1,149 | 10,497 | +814% | 0 | 0 | — |
case-24 | pass→pass | 9,104 | 22,568 | +148% | 1 | 1 | 0% | 1,670 | 11,183 | +570% | 0 | 0 | — |
case-25 | fail→pass | 6,928 | 2,653 | -62% | 1 | 1 | 0% | 1,304 | 10,428 | +700% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 25 cases were attempted. The headline lift of +84 percentage points is the difference between those two pass rates over the 25 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.