360 Secure SkillHub
360 安全技能中心

Telnyx

这是适配Telnyx服务的Python CLI工具,核心功能涵盖短信/彩信收发与查询、语音通话创建/管理、手机号查询与订购、传真发送与查看、账户余额查询等。需配置Telnyx v2 API密钥,基于Python3.10+开发无额外依赖,通过命令行参数输入,输出默认采用JSON格式,适合快速执行各类电信相关操作。

aiwithabidi
aiwithabidi
热度 53.84
最近更新 2026-05-10 17:41:41
分类:开发依赖:代码执行 / 第三方 API应用场景:API 集成 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add telnyx
Metadata
name
telnyx
description
Telnyx — voice, SMS/MMS messaging, SIP trunking, number management, and fax.
homepage
https://www.agxntsix.ai
license
MIT
compatibility
Python 3.10+ (stdlib only — no dependencies)
metadata
{"openclaw":{"emoji":"☎️","requires":{"env":["TELNYX_API_KEY"]},"primaryEnv":"TELNYX_API_KEY","homepage":"https://www.agxntsix.ai"}}

☎️ Telnyx

Telnyx — voice, SMS/MMS messaging, SIP trunking, number management, and fax.

Requirements

Variable Required Description
TELNYX_API_KEY ✅ Telnyx API key (v2)

Quick Start

# Send SMS/MMS
python3 {{baseDir}}/scripts/telnyx.py send-message --from <value> --to <value> --text <value>

# List messages
python3 {{baseDir}}/scripts/telnyx.py list-messages --page-size "25"

# Create outbound call
python3 {{baseDir}}/scripts/telnyx.py create-call --from <value> --to <value> --connection-id <value>

# List active calls
python3 {{baseDir}}/scripts/telnyx.py list-calls

# Get call details
python3 {{baseDir}}/scripts/telnyx.py get-call <id>

# Hang up call
python3 {{baseDir}}/scripts/telnyx.py hangup-call <id>

# List phone numbers
python3 {{baseDir}}/scripts/telnyx.py list-numbers --page-size "25"

# Search available numbers
python3 {{baseDir}}/scripts/telnyx.py search-numbers --country-code "US" --limit "10"

# Order phone number
python3 {{baseDir}}/scripts/telnyx.py order-number --phone-numbers "JSON array"

# List SIP connections
python3 {{baseDir}}/scripts/telnyx.py list-connections

# Create SIP connection
python3 {{baseDir}}/scripts/telnyx.py create-connection --name <value> --connection-type "ip"

# Send a fax
python3 {{baseDir}}/scripts/telnyx.py send-fax --from <value> --to <value> --media-url <value>

# List faxes
python3 {{baseDir}}/scripts/telnyx.py list-faxes

# Get account balance
python3 {{baseDir}}/scripts/telnyx.py get-balance

Output Format

All commands output JSON by default.

Script Reference

Script Description
{baseDir}/scripts/telnyx.py Main CLI — all commands in one tool

Credits

Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

📅 Need help setting up OpenClaw for your business? Book a free consultation