telnyx-cli
bởi teamtelnyx
Web & Frontend DevelopmentTóm tắt
Telnyx API integration for Clawdbot.
Mô tả
Kỹ năng này làm gì
Telnyx CLI integration for sending SMS, email, and WhatsApp messages, managing phone numbers, querying call history, and debugging webhooks. All operations authenticate via an API key stored in ~/.config/telnyx/config.json.
Scripting and automating Telnyx operations from the command line avoids writing API client code or navigating the portal manually.
Khi nào nên dùng
- Send SMS alerts from cron jobs or automation scripts
- Search and purchase phone numbers by country and area code
- Retry failed webhook deliveries during an incident
- Export call logs to CSV for billing or monthly review
- Check account balance before running a bulk messaging campaign
Quy trình ví dụ
User asks: Send an SMS from +15551234567 to +15559876543 saying 'Your order is ready'
- 1
Verify telnyx CLI is installed and API key exists in ~/.config/telnyx/config.json
- 2
Run telnyx account get to confirm the key is valid
- 3
Run telnyx message send --from +15551234567 --to +15559876543 --text "Your order is ready"
- 4
Retrieve delivery status with telnyx message get MESSAGE_ID
SMS sent and delivery status confirmed with message ID
Yêu cầu
- Telnyx account (portal.telnyx.com)
- Telnyx API key from portal.telnyx.com/#/app/api-keys
- @telnyx/api-cli installed globally (npm install -g @telnyx/api-cli)
Cài đặt
clawhub install teamtelnyx/telnyx-cliChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.