360 Secure SkillHub
360 安全技能中心

Telnyx

该 Skill 提供 Python 命令行脚本,通过 Telnyx API 发送短信、发起与挂断通话、管理号码和 SIP 连接,并支持传真及账户余额查询;命令默认输出 JSON。

aiwithabidi
aiwithabidi
热度 53.69
最近更新 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