> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ringee.io/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI overview

> Operate Ringee from the terminal

The `ringee` CLI puts contacts, leads, campaigns, analytics, DNC, AI pipelines, AI Voice Agents, dialing sessions and follow-ups behind a consistent command line. It is a thin front end over the Ringee [MCP server](https://docs.ringee.io/mcp/overview.md)—the same tools an AI assistant would call, with the same guardrails.

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
npm i -g ringee
export RINGEE_MCP_URL="https://api.ringee.io/api/mcp/<userId>/sse"

ringee config check
ringee contacts search acme
```

> [card] [Configure the connection](https://docs.ringee.io/cli/configuration.md)
>
> Point the CLI at your workspace

> [card] [Command reference](https://docs.ringee.io/cli/commands.md)
>
> Every command, argument and flag

## Install

```bash Global theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
npm i -g ringee
ringee --help
```

```bash No install theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
npx ringee --help
```

```bash From the repo theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
pnpm ringee contacts search acme
pnpm --filter ringee dev -- config check
```

Requires **Node 20 or newer**. The published binary pulls in three dependencies — `@modelcontextprotocol/sdk`, `zod` and `commander`.

## What it is good for

| Use case | Why the CLI |
| - | - |
| Quick lookups | `ringee contacts search acme` beats opening the dashboard |
| Scripting | `--json` on any command gives machine-readable output |
| AI agents | Any harness that can run shell commands can drive Ringee |
| Debugging MCP | `ringee config check` lists every tool the server exposes |
| CI and automation | No browser, no session cookie — just an env var |

## Command groups

| Group | Purpose |
| - | - |
| `contacts` | Search, view, create, update, delete; find by call outcome |
| `leads` | Prospect via Apollo or Prospeo; reveal and import |
| `sessions` | Magic-link dialing queues |
| `calls` | Browse call history with outcomes, transcriptions and recordings |
| `outcomes`, `callbacks`, `meetings` | Log results and book the next touch |
| `campaigns` | Inspect campaign configuration, manage leads and read performance |
| `analytics` | Dashboard metrics and one-day activity |
| `dnc` | Manage the workspace Do Not Call suppression list |
| `pipelines` | Read AI pipeline state and results |
| `voice-agents` | List agents, start a real billed call and read its result |
| `config` | Connection diagnostics and the shared agent knowledge |

## Safety

Sensitive and destructive commands refuse to run without an explicit flag, so neither a typo nor an autonomous agent can spend credits, mint a shareable link or delete data by accident.

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
ringee leads reveal <jobId> <externalId> --yes
ringee sessions create --contact <id> --yes
ringee sessions revoke <sessionId> --yes
ringee contacts delete <id> --confirm-phone +14155550123 --yes
ringee campaigns delete-lead <campaignId> <leadId> --yes
ringee dnc remove +14155550123 --yes
ringee voice-agents call <agentId> --to +14155550123 --yes
```

See [Safety and confirmations](https://docs.ringee.io/mcp/safety.md).

## Output modes

By default the CLI prints readable, formatted output. Add `--json` to any command for the raw payload:

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
ringee contacts search acme --json | jq '.contacts[].phoneNumber'
```

## Next steps

> [card] [Configuration](https://docs.ringee.io/cli/configuration.md)
>
> Environment variables and diagnostics

> [card] [Use it from an agent](https://docs.ringee.io/cli/agents.md)
>
> Drive Ringee from Claude Code or any shell-capable harness

> [card] [AI Voice Agents](https://docs.ringee.io/voice-agents/cli.md)
>
> Place and monitor autonomous calls from the CLI


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.