Official Twilio CLI for Twilio API operations, account profiles, phone numbers, and plugins.
$brew tap twilio/brew && brew install twilio
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
Twilio CLI is Twilio's official command-line client for working with Twilio accounts and APIs from the shell. It combines generated API commands with a few higher-level commands for profiles, phone numbers, debugger logs, email sending, and plugins.
What It Enables
- Create, list, fetch, update, and delete Twilio resources through generated
twilio api:*commands that mirror much of the Twilio API surface. - Manage multiple accounts or regions with stored profiles or environment variables, then inspect or update resources like phone numbers and webhooks from the terminal.
- Inspect debugger log events, send email through Twilio SendGrid, and extend the CLI with Twilio or custom plugins for product-specific workflows.
Agent Fit
-o json, TSV output,--properties, and stdout/stderr separation make API responses easy to parse and chain with tools likejq.- Help text and command discovery are strong because the CLI generates topics and flags from Twilio's API definitions, which works well in try, inspect, and retry loops.
- Unattended use is best after credentials are preconfigured;
twilio loginis interactive, some commands default to human tables, and plugins add another trust surface.
Caveats
- First-time setup usually prompts for Account SID and Auth Token, unless you provide environment variables or flags up front.
- List commands default to 50 records and the default displayed columns can change, so automation should set
--limit,--properties, and JSON output explicitly.