Install any skill in seconds. Free to start, no credit card required.
Get Started Free →team-telnyx/telnyx-voice-javascript
Programmatic call control: make/receive calls, transfer, bridge, gather DTMF, stream audio. Real-time call events via webhooks.
Passed 22 of 22 test cases with the skill, and 8 of 22 without it.
and 12 more in the full report
14 fixed8 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 14 test cases the skill fixed. Same model, same prompt, with and without the skill.
When receiving a Telnyx `call.initiated` webhook event, which payload property indicates the codecs offered by the calling party?
| Checked | Without skill | With skill |
|---|---|---|
| Reads offered_codecs from data.payload.offered_codecs. | Missed | Passed |
The instructions your model reads when the skill loads.
npm install [email protected]
import 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:
try {
const response = await client.calls.dial({
connection_id: '7267xxxxxxxxxxxxxx',
from: '+18005550101',
to: '+18005550100;secure=srtp',
});
} catch (err) {
if (err instanceof Telnyx.APIConnectionError) {
console.error('Network error — check connectivity and retry');
} else if (err instanceof Telnyx.RateLimitError) {
const retryAfter = err.headers?.['retry-after'] || 1;
await new Promise(r => setTimeout(r, retryAfter * 1000));
test cases passed, vs 8 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.