telnyx-cli
by teamtelnyx
Web & Frontend DevelopmentBrief
Telnyx API integration for Clawdbot.
Description
What This Skill Does
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.
When to Use It
- 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
Example Workflow
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
Requirements
- 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)
Installation
clawhub install teamtelnyx/telnyx-cliRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.