bland-cli
Getting started
What you can do
Phone Calls
Phone Calls
Make outbound calls with customizable voices, tasks, and pathways. View and analyze call history directly from the terminal.
Pathways
Pathways
Create and manage conversational pathways as YAML files. Sync local YAML with the Bland API, run interactive tests, and automate test cases.
Phone Numbers
Phone Numbers
Purchase, configure, and release phone numbers from your terminal.
Voices
Voices
Browse available voices and synthesize audio samples.
Personas
Personas
Create and manage personas for your agents, including versioning and knowledge gap tracking.
Tools
Tools
Create and manage custom tools that your agents can call during conversations.
Knowledge Bases
Knowledge Bases
Create and manage knowledge bases, including populating them via web scraping.
Batch Campaigns
Batch Campaigns
Automate large-scale outbound call campaigns.
SMS [Enterprise]
SMS [Enterprise]
Send and manage SMS conversations through the CLI.
Agents
Agents
Manage web agents.
Guard Rails
Guard Rails
Configure guard rails for your agents.
Monitoring & Secrets
Monitoring & Secrets
Set up monitoring alarms and manage secrets.
Releases & Widgets
Releases & Widgets
Manage releases and embeddable widgets.
Audio & SIP
Audio & SIP
Generate TTS audio, analyze audio files, and manage SIP endpoints.
Evaluations
Evaluations
Run and manage automated pathway test cases.
Local Webhook Development
Forward Bland webhooks to your local dev server without ngrok:MCP Server
The CLI includes an MCP (Model Context Protocol) server, which lets AI coding tools like Claude Code and Cursor interact with your Bland account through natural language.Claude Code Setup
Add to your Claude Code config:JSON Output
Every list and get command supports--json for piping to jq or scripts:
Environment Variables
| Variable | Purpose |
|---|---|
BLAND_API_KEY | API key (overrides stored profile) |
BLAND_BASE_URL | API base URL (default: https://api.bland.ai) |
Profiles
The CLI supports multiple profiles for managing different API keys or organizations.~/.config/bland-cli/config.json. You can also override the API key per-command with BLAND_API_KEY.