Skip to main content
Manage your entire Bland account from the terminal: make calls, build and test pathways, configure phone numbers, and more. Install via NPM: bland-cli
Requirements: Node.js 18+

Getting started

Or set the environment variable:

What you can do

Make outbound calls with customizable voices, tasks, and pathways. View and analyze call history directly from the terminal.
Create and manage conversational pathways as YAML files. Sync local YAML with the Bland API, run interactive tests, and automate test cases.
Purchase, configure, and release phone numbers from your terminal.
Browse available voices and synthesize audio samples.
Create and manage personas for your agents, including versioning and knowledge gap tracking.
Create and manage custom tools that your agents can call during conversations.
Create and manage knowledge bases, including populating them via web scraping.
Automate large-scale outbound call campaigns.
Send and manage SMS conversations through the CLI.
Manage web agents.
Configure guard rails for your agents.
Set up monitoring alarms and manage secrets.
Manage releases and embeddable widgets.
Generate TTS audio, analyze audio files, and manage SIP endpoints.
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:
Once running, AI tools can make calls, manage pathways, check your balance, and more without leaving your development environment.

JSON Output

Every list and get command supports --json for piping to jq or scripts:

Environment Variables

VariablePurpose
BLAND_API_KEYAPI key (overrides stored profile)
BLAND_BASE_URLAPI base URL (default: https://api.bland.ai)

Profiles

The CLI supports multiple profiles for managing different API keys or organizations.
Profiles are stored at ~/.config/bland-cli/config.json. You can also override the API key per-command with BLAND_API_KEY.
Docs for agents: llms.txt