Skip to main content
The Plivo CLI is a command-line interface to the Plivo APIs. Anything you can do with the REST API (make calls, send messages, search and buy numbers, create applications, manage subaccounts, pull recordings) you can do from the terminal, and anything the CLI doesn’t wrap yet is one plivo api call away. It is built for people and for AI coding agents (Claude Code, Cursor, Codex): every command returns machine-readable output with -o json (API-backed commands hand back the raw API response; local tools such as streams test, streams forward and upgrade print a single summary and move progress to stderr), previews changes with --dry-run, and refuses to spend money or delete anything unless you pass --yes. It also ships Plivo’s AI assistant: plivo ask answers questions in plain English and plivo … diagnose explains why a call or message failed.

What you can do

Example: a voice agent on Audio Streaming

The most common thing people build with the CLI today is a WebSocket voice agent on Audio Streaming, so the docs walk through that path in its own section. Voice agents built on SIP platforms (LiveKit, Vapi, Retell, ElevenLabs) do not use the stream commands; their trunks are set up through the SIP trunking API, reachable with plivo api. Not building a voice agent? Start with Install and Authenticate, then pick your API under Plivo APIs: Voice, Messaging, Numbers, Account.
The CLI is open source under the Apache-2.0 license: github.com/plivo/plivo-cli. Run plivo feedback from the terminal, or open an issue on the issue tracker.