Skip to content

LiveConv CLI Reference (`liveconv`)

The liveconv CLI (apps/api/cmd/liveconv) manages LiveConv phone numbers, calls, conferences, campaigns, contacts, DNC lists, agents, chat widgets, MCP servers/connectors, event webhooks, billing, tenants, and platform administration over the LiveConv HTTP API.


Terminal window
# Build into apps/api/bin/liveconv
task cli:build
# Or install into $GOBIN
task cli:install
# Verify installation
liveconv version

liveconv uses two distinct credential types. A signed-in user’s token is never turned into a machine credential.

Credential type How to provide Used for
Machine key (lcm_...) sec run LIVECONV_API_KEY -- liveconv ... or export LIVECONV_API_KEY_SEC=LIVECONV_API_KEY whoami, numbers, calls, conference, campaigns, dnc, contacts, connectors, billing usage|number, plus /v1/machine/... forms of mcp, agents, widget, events
Signed-in user (deemwar SaaS) liveconv login --saas (loopback + PKCE; stored in OS keychain only) me, logout, orgs, tenants, machine-clients, phone status, admin, billing summary|prices|markup, plus org-scoped mcp, agents, widget, events, billing usage|number

Never pass secrets as CLI flags or commit them to files. Use sec run:

Terminal window
# Run a machine command with a secret from sec
sec run LIVECONV_API_KEY -- liveconv whoami
# Or map a named secret to LIVECONV_API_KEY
sec run MY_ORG_KEY=LIVECONV_API_KEY -- liveconv numbers list
# Or let liveconv re-exec itself under sec automatically
export LIVECONV_API_KEY_SEC=MY_ORG_KEY
liveconv numbers list

Every command accepts:

  • --json — machine-readable JSON output (can be placed before or after the subcommand)
  • --api-base URL — override the API base URL (must be https://, or http:// only for loopback)

Environment variables:

Variable Description Default
LIVECONV_API_BASE API base URL https://api.liveconv.com
LIVECONV_API_KEY Machine credential (lcm_...), injected via sec run (unset)
LIVECONV_API_KEY_SEC sec secret name for automatic sec run re-exec (unset)
LIVECONV_CONFIG_DIR Directory for CLI state (current tenant) OS user config dir
LIVECONV_SAAS_API deemwar SaaS API URL https://saasapi.deemwar.com
LIVECONV_SAAS_UI deemwar SaaS UI URL https://saas.deemwar.com
LIVECONV_SAAS_PRODUCT Product slug on deemwar SaaS liveconv

Code Meaning
0 Success
1 API error or failure (HTTP status included in error message)
2 Usage error (bad flags/arguments) or refused confirmation
3 Preflight failure (missing credential or not logged in)

Terminal window
liveconv login --saas
liveconv me
liveconv tenants list
liveconv tenants use example-org
liveconv tenants current

2. Mint a machine key into sec and verify it

Section titled “2. Mint a machine key into sec and verify it”
Terminal window
liveconv machine-clients create \
--name automation-bot \
--scopes numbers:read,calls:read,agents:manage \
--org example-org \
--sec-name LIVECONV_EXAMPLE_KEY
sec run LIVECONV_EXAMPLE_KEY=LIVECONV_API_KEY -- liveconv whoami

3. Configure an AI agent and bind it to a phone number

Section titled “3. Configure an AI agent and bind it to a phone number”
Terminal window
liveconv agents create --slug support-bot --name "Support Bot" \
--soul "You are a concise, helpful support assistant." \
--greeting "Hello, how can I help you today?"
sec run LIVECONV_API_KEY -- liveconv numbers policy num_01example \
--route ai --assistant-id agt_01example

4. Run a draft campaign (simulator or approved org)

Section titled “4. Run a draft campaign (simulator or approved org)”
Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns create \
--name "Q4 Check-in" --from +12025550100 --purpose "Appointment reminder" \
--budget 50 --max-call-seconds 180
sec run LIVECONV_API_KEY -- liveconv campaigns contacts import cmp_01example contacts.csv
sec run LIVECONV_API_KEY -- liveconv campaigns status cmp_01example

Print the CLI version.

Terminal window
liveconv version

Show the active machine credential’s client name, org, and scopes.

Terminal window
sec run LIVECONV_API_KEY -- liveconv whoami

Sign in through deemwar SaaS in the browser (loopback + PKCE). Flags: --saas, --no-browser, --saas-api URL, --saas-ui URL.

Terminal window
liveconv login --saas

End the deemwar SaaS session and remove tokens from the OS keychain.

Terminal window
liveconv logout

Show the currently signed-in user (exits 3 when signed out).

Terminal window
liveconv me

List your deemwar SaaS tenants that have LiveConv enabled.

Terminal window
liveconv orgs list

List your LiveConv tenants (* marks the active tenant).

Terminal window
liveconv tenants list

Select the default tenant for org-scoped commands.

Terminal window
liveconv tenants use example-org

Alias for liveconv tenants use.

Terminal window
liveconv tenants switch example-org

Show which tenant commands target and how it was resolved.

Terminal window
liveconv tenants current

(Super admin) Create a new tenant organization. Flags: --name N, --slug S, --use.

Terminal window
liveconv tenants create --name "Example Corp" --slug example-corp --use

(Super admin) Irreversibly delete a tenant (refused if the org holds or ever held a number). Flags: --yes.

Terminal window
liveconv tenants delete example-corp --yes

(Super admin) Inspect voice provider and outbound gate settings for a tenant.

Terminal window
liveconv tenants voice get example-org

(Super admin) Update voice provider (plivo|sim), excluded regions, allowed outbound countries, or invite decision webhook.

Terminal window
liveconv tenants voice set example-org --provider sim --outbound-countries US,IN

List machine clients for an org. Flags: --org SLUG.

Terminal window
liveconv machine-clients list --org example-org

Create a machine client and store its secret in sec, a 0600 file, or stdout. Flags: --name N, --scopes a,b, --org SLUG, --sec-name NAME | --secret-file PATH | --show-secret.

Terminal window
liveconv machine-clients create --name ci-reader --scopes numbers:read,calls:read \
--org example-org --sec-name LIVECONV_CI_READER

Rotate a machine client’s secret with an optional grace window. Flags: --grace-hours H, --org SLUG, --sec-name NAME | --secret-file PATH | --show-secret.

Terminal window
liveconv machine-clients rotate mc_01example --grace-hours 24 \
--org example-org --sec-name LIVECONV_CI_READER

Revoke a machine client immediately. Flags: --org SLUG, --yes.

Terminal window
liveconv machine-clients revoke mc_01example --org example-org --yes

Show calls currently in progress for the org. Flags: --org SLUG.

Terminal window
liveconv phone status --org example-org

Note: numbers buy and numbers release mutate real carrier inventory and incur monthly charges; both prompt for confirmation unless --yes is passed.

Search available phone numbers by country and type. Flags: --country CC, --type local|tollfree, --pattern P.

Terminal window
sec run LIVECONV_API_KEY -- liveconv numbers search --country US --type local --pattern 415

Purchase a phone number (requires numbers:buy scope and NUMBER_PURCHASE_ENABLED). Flags: --module M, --country CC, --type T, --compliance-id ID, --idempotency-key K, --yes.

Terminal window
sec run LIVECONV_API_KEY -- liveconv numbers buy +12025550100 \
--module support --country US --type local --yes

Attach an existing provider number to LiveConv. Flags: --module M, --country CC, --no-point-to-app, --idempotency-key K.

Terminal window
sec run LIVECONV_API_KEY -- liveconv numbers attach +12025550100 --module support --country US

List phone numbers owned by the org.

Terminal window
sec run LIVECONV_API_KEY -- liveconv numbers list

Show details and policy for one phone number.

Terminal window
sec run LIVECONV_API_KEY -- liveconv numbers get num_01example

Release a phone number back to the carrier. Flags: --yes.

Terminal window
sec run LIVECONV_API_KEY -- liveconv numbers release num_01example --yes

Inspect or update inbound routing policy (ai, human, crm_lookup, or conference with --pin-stdin).

Terminal window
sec run LIVECONV_API_KEY -- liveconv numbers policy num_01example \
--route ai --assistant-id agt_01example --mcp-allow tools.example.com

Note: calls start dials a real phone unless the org is in simulator mode.

Place an outbound call. Flags: --to +E164, --from +E164, --purpose P, --mode agent|human, --context-ref R, --idempotency-key K, --yes, --watch.

Terminal window
sec run LIVECONV_API_KEY -- liveconv calls start \
--to +12025550199 --from +12025550100 --purpose "Status check" --mode agent --watch

Stream call events until the call ends (exits 1 if the call fails). Flags: --interval 2s, --timeout 15m.

Terminal window
sec run LIVECONV_API_KEY -- liveconv calls watch call_01example --interval 2s

List recent calls. Flags: --number +E164, --status S, --since RFC3339, --limit N.

Terminal window
sec run LIVECONV_API_KEY -- liveconv calls list --limit 20

Inspect one call and its event timeline.

Terminal window
sec run LIVECONV_API_KEY -- liveconv calls get call_01example

Hang up an active call.

Terminal window
sec run LIVECONV_API_KEY -- liveconv calls hangup call_01example

(Simulator mode) Simulate a caller dialing into a simulator number (optional PIN on stdin with --digits-stdin).

Terminal window
echo "123456" | sec run LIVECONV_API_KEY -- liveconv calls sim-inbound \
--to +12025550100 --from +12025550199 --digits-stdin

Dial multiple participants into a conference room (optional --agent). Flags: --from, --to, --purpose, --name, --context-ref, --agent, --greeting, --disclosure, --idempotency-key, --yes, --watch.

Terminal window
sec run LIVECONV_API_KEY -- liveconv conference start \
--from +12025550100 --to +12025550101,+12025550102 --purpose "Ops sync" --agent --watch

Stream conference and participant events until the conference ends. Flags: --interval 2s, --timeout 30m.

Terminal window
sec run LIVECONV_API_KEY -- liveconv conference watch conf_01example

List recent conferences. Flags: --limit N.

Terminal window
sec run LIVECONV_API_KEY -- liveconv conference list --limit 10

Show a conference, its participants, and its events.

Terminal window
sec run LIVECONV_API_KEY -- liveconv conference get conf_01example

Alias for liveconv conference get.

Terminal window
sec run LIVECONV_API_KEY -- liveconv conference status conf_01example

Dial an additional participant into an active conference. Flags: --to +E164, --yes.

Terminal window
sec run LIVECONV_API_KEY -- liveconv conference add conf_01example --to +12025550103

Alias for liveconv conference add.

Terminal window
sec run LIVECONV_API_KEY -- liveconv conference join conf_01example --to +12025550103

Hang up a single participant in a conference.

Terminal window
sec run LIVECONV_API_KEY -- liveconv conference remove conf_01example call_01example

Hang up all participants and end the conference.

Terminal window
sec run LIVECONV_API_KEY -- liveconv conference hangup conf_01example

Alias for liveconv conference hangup.

Terminal window
sec run LIVECONV_API_KEY -- liveconv conference end conf_01example

(Simulator mode) Inject spoken text from a participant to the room’s AI. Flags: --text T.

Terminal window
sec run LIVECONV_API_KEY -- liveconv conference say conf_01example --text "Please summarize next steps"

Create a draft outbound call campaign. Flags: --name, --from, --purpose, --notes, --notes-file, --instructions, --instructions-file, --concurrency, --max-attempts, --retry-delay, --disclosure, --call-category, --max-call-seconds, --window, --timezone, --budget.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns create \
--name "Renewal Outreach" --from +12025550100 --purpose "Renewal check-in" \
--window 10:00-18:00 --timezone America/New_York --budget 100

Update a draft or paused campaign’s settings.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns update cmp_01example --max-call-seconds 240 --budget 150

Create, import contacts from JSON, and start a campaign in one idempotent request (scope campaigns:invoke). Flags: --from, --purpose, --budget, --contacts, --name, --call-category, --instructions-file, --disclosure, --max-call-seconds, --window, --timezone, --idempotency-key, --yes.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns invoke \
--from +12025550100 --purpose "Event reminder" --budget 50 --contacts contacts.json

List campaigns and their contact counts.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns list

Import contacts from CSV (name,phone,notes) or stdin (-). Duplicate phones and DNC numbers are skipped and reported.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns contacts import cmp_01example contacts.csv

Start dialing a campaign’s contacts (or run a researched single-contact brief with --brief). Flags: --yes (or --brief, --to, --from, --instructions-file, --research-only, --watch, etc.).

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns start cmp_01example

Pause a running campaign (in-flight calls finish; no new calls start).

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns pause cmp_01example

Resume a paused campaign.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns resume cmp_01example

Permanently stop a campaign and cancel remaining uncalled contacts. Flags: --yes.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns stop cmp_01example --yes

Show campaign status, hold reason (if any), contact counts, talk time, credits, and cost.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns status cmp_01example

Show per-contact outcomes, summaries, talk time, and costs. Flags: --csv out.csv, --transcripts.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns results cmp_01example --csv results.csv

Download a contact’s call recording through LiveConv. Flags: -o FILE.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns recording cmp_01example cnt_01example -o call.mp3

Attach a webhook endpoint to a single campaign. Flags: --url, --types, --profile liveconv|wfnexus, --sec-name | --secret-file | --show-secret.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns hooks add cmp_01example \
--url https://hooks.example.com/liveconv --types campaign.*,contact.outcome \
--sec-name CAMPAIGN_HOOK_SECRET

List webhooks attached to a campaign.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns hooks list cmp_01example

Update a campaign webhook’s URL, event types, or enabled state.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns hooks update cmp_01example hook_01example --enabled false

Remove a webhook from a campaign. Flags: --yes.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns hooks remove cmp_01example hook_01example --yes

Send a test ping event to a campaign webhook.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns hooks test cmp_01example hook_01example

List webhook delivery attempts for a campaign hook. Flags: --status, --limit.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns hooks deliveries cmp_01example hook_01example --limit 20

Replay a delivered or failed campaign webhook delivery with the same event ID.

Terminal window
sec run LIVECONV_API_KEY -- liveconv campaigns hooks replay cmp_01example del_01example

List the org’s do-not-call entries (phones masked). Flags: --all (include unlisted history).

Terminal window
sec run LIVECONV_API_KEY -- liveconv dnc list

Add a phone number to the org’s DNC list (audited). Flags: --reason R.

Terminal window
sec run LIVECONV_API_KEY -- liveconv dnc add +12025550199 --reason "Requested opt-out"

Remove a number from active DNC (kept in history; self opt-outs require super admin). Flags: --reason R, --yes.

Terminal window
sec run LIVECONV_API_KEY -- liveconv dnc unlist +12025550199 --reason "Re-consented via ticket #42" --yes

Create or update contacts by phone from JSON (--file F | -) or flags (--phone-sec, --name, --company, --language, --timezone, --tags, --about-file).

Terminal window
sec run LIVECONV_API_KEY -- liveconv contacts upsert --file contacts.json

List org contacts (phones masked). Flags: --tag, --q, --dnc, --archived, --limit, --cursor.

Terminal window
sec run LIVECONV_API_KEY -- liveconv contacts list --limit 25

Inspect one contact. Flags: --about (include about notes).

Terminal window
sec run LIVECONV_API_KEY -- liveconv contacts get cnt_01example --about

Update fields on an existing contact. Flags: --name, --company, --language, --timezone, --external-ref, --tags, --about-file.

Terminal window
sec run LIVECONV_API_KEY -- liveconv contacts patch cnt_01example --company "Example LLC" --tags vip,renewal

Archive a contact so it is excluded from default lists and calls. Flags: --yes.

Terminal window
sec run LIVECONV_API_KEY -- liveconv contacts archive cnt_01example --yes

List call history for one contact.

Terminal window
sec run LIVECONV_API_KEY -- liveconv contacts calls cnt_01example

List agents in the tenant.

Terminal window
liveconv agents list --org example-org

Show one agent including its soul (system prompt).

Terminal window
liveconv agents get support-bot --org example-org

Create an agent. Flags: --slug, --name, --soul | --soul-file, --greeting, --tone, --access-all.

Terminal window
liveconv agents create --slug sales-bot --name "Sales Bot" \
--soul-file soul.txt --greeting "Hi there!" --org example-org

Update an agent’s name, soul, greeting, tone, or global inheritance.

Terminal window
liveconv agents update sales-bot --tone friendly --org example-org

Set an agent as the tenant’s default agent.

Terminal window
liveconv agents default support-bot --org example-org

Delete an agent. Flags: --yes.

Terminal window
liveconv agents delete sales-bot --org example-org --yes

Show an agent’s chat widget public ID, allowed origins, and embed snippet.

Terminal window
liveconv widget get support-bot --org example-org

Configure an agent’s chat widget. Flags: --origins, --color, --position, --modes voice,chat.

Terminal window
liveconv widget set support-bot --origins https://example.com --color "#112233" --modes voice,chat --org example-org

List the tenant’s static MCP servers.

Terminal window
liveconv mcp list --org example-org

Register a static MCP server (token sealed, never shown). Flags: --url, --label, --agent-id, --token-stdin | --token-sec NAME.

Terminal window
liveconv mcp add --url https://mcp.example.com/sse --label "CRM Tools" --token-sec CRM_MCP_TOKEN --org example-org

Test connecting to an MCP server and list its tools without saving. Flags: --url, --token-stdin | --token-sec NAME.

Terminal window
liveconv mcp test --url https://mcp.example.com/sse --token-sec CRM_MCP_TOKEN

Refresh the discovered tool list for an existing MCP server.

Terminal window
liveconv mcp recheck mcp_01example --org example-org

Delete a static MCP server. Flags: --yes.

Terminal window
liveconv mcp delete mcp_01example --org example-org --yes

Enable LiveConv’s built-in safe MCP tools for the tenant.

Terminal window
liveconv mcp liveconv-tools enable --org example-org

Disable LiveConv’s built-in safe MCP tools for the tenant.

Terminal window
liveconv mcp liveconv-tools disable --org example-org

Register or update an OAuth MCP Store connector (machine key). Flags: --client-id, --secret-sec NAME, --token-url.

Terminal window
sec run LIVECONV_API_KEY -- liveconv connectors put store.example.com \
--client-id client_example --secret-sec MCP_STORE_SECRET

List registered MCP Store connectors.

Terminal window
sec run LIVECONV_API_KEY -- liveconv connectors list

Delete an MCP Store connector. Flags: --yes.

Terminal window
sec run LIVECONV_API_KEY -- liveconv connectors delete store.example.com --yes

Create a tenant-wide outbound webhook subscription. Flags: --url, --types, --profile liveconv|wfnexus, --name, --include-refs, --sec-name | --secret-file | --show-secret.

Terminal window
liveconv events subscriptions create \
--url https://hooks.example.com/events --types call.completed,campaign.* \
--sec-name LIVECONV_WEBHOOK_SECRET --org example-org

List webhook subscriptions for the tenant.

Terminal window
liveconv events subscriptions list --org example-org

Inspect one webhook subscription.

Terminal window
liveconv events subscriptions get sub_01example --org example-org

Update a webhook subscription’s URL, types, name, enabled state, or --include-refs.

Terminal window
liveconv events subscriptions update sub_01example --enabled true --org example-org

liveconv events subscriptions rotate-secret

Section titled “liveconv events subscriptions rotate-secret”

Rotate a webhook subscription’s signing secret. Flags: --sec-name | --secret-file | --show-secret.

Terminal window
liveconv events subscriptions rotate-secret sub_01example --sec-name LIVECONV_WEBHOOK_SECRET --org example-org

Delete a webhook subscription. Flags: --yes.

Terminal window
liveconv events subscriptions delete sub_01example --org example-org --yes

Queue a ping event to verify endpoint delivery.

Terminal window
liveconv events subscriptions test sub_01example --org example-org

Inspect delivery attempts for a subscription. Flags: --status pending|delivered|failed, --limit N.

Terminal window
liveconv events subscriptions deliveries sub_01example --status failed --limit 20 --org example-org

Replay a delivered or failed webhook delivery with the same event ID.

Terminal window
liveconv events replay del_01example --org example-org

Show priced usage (provider cost, markup, price) grouped by number, component, or call. Flags: --from D, --to D, --group, --org SLUG.

Terminal window
liveconv billing usage --from 2026-11-01 --to 2026-11-30 --group component --org example-org

Show cost lines for a single phone number. Flags: --from D, --to D, --org SLUG.

Terminal window
liveconv billing number num_01example --from 2026-11-01 --org example-org

(Super admin) Platform-wide cost vs. price summary per org and currency. Flags: --from D, --to D.

Terminal window
liveconv billing summary --from 2026-11-01 --to 2026-11-30

(Super admin) List AI provider prices currently in force (and scheduled). Flags: --history.

Terminal window
liveconv billing prices list --history

(Super admin) Add a new AI provider price (audited; history preserved). Flags: --price P, --currency C, --reason R, --from RFC3339.

Terminal window
liveconv billing prices set gemini gemini-2.5-flash-live audio_in_min \
--price 0.05 --currency USD --reason "Updated vendor rate card"

(Super admin) Show platform markup percentage (default 30) and per-org overrides. Flags: --org SLUG.

Terminal window
liveconv billing markup get

(Super admin) Set platform markup or a per-org override (audited). Flags: --org SLUG, --reason R.

Terminal window
liveconv billing markup set 25 --org example-org --reason "Enterprise contract rate"

(Super admin) Remove a per-org markup override so the org inherits the platform default. Flags: --org SLUG, --reason R.

Terminal window
liveconv billing markup clear --org example-org --reason "Contract ended"

(Super admin) Read one or all runtime config keys.

Terminal window
liveconv admin config get

(Super admin) Update a runtime config key (--reason required for BILLING_* keys; audited).

Terminal window
liveconv admin config set CALL_WINDOW_EARLIEST 09:00 --reason "Standardize calling hours"

(Super admin) List number purchase requests filed by tools. Flags: --status pending, --limit N.

Terminal window
liveconv admin purchase-requests --status pending --limit 20

(Super admin) Move a registered phone number from one org to another without releasing it at the carrier (audited). Flags: --from S, --to S.

Terminal window
liveconv admin phone-claim move --from old-org --to new-org +12025550100

(Super admin) Count entries in the super-admin allowlist.

Terminal window
liveconv admin super-admins count

(Super admin) Check whether an email is on the super-admin allowlist.

Terminal window
liveconv admin super-admins check [email protected]

(Super admin) Add an email to the super-admin allowlist (add-only, audited).

Terminal window
liveconv admin super-admins add [email protected]

The block below is generated directly from liveconv --help via scripts/gen-cli-docs.sh and verified by TestCLIDocCoverage in task check.

liveconv — LiveConv from the terminal
Machine commands. Credential: LIVECONV_API_KEY (e.g. sec run LIVECONV_API_KEY -- liveconv ...) or
LIVECONV_API_KEY_SEC=NAME (a signed-in person's token is never turned into a machine credential):
whoami the credential's client name and scopes
numbers search --country IN --type local [--pattern 80]
numbers buy <+E164> --module <m> --country IN --type local [--compliance-id ID] [--idempotency-key K] [--yes]
numbers attach <+E164> --module <m> [--country IN] [--no-point-to-app] [--idempotency-key K]
numbers list
numbers get <id>
numbers release <id> [--yes]
numbers policy <id> [--route ai|human|crm_lookup [--assistant-id A] [--mcp-allow t1,t2] [--callback-allow +1555,..] [--callback-reject ..]]
numbers policy <id> --route conference --pin-stdin [--agent [--disclosure "..."] [--greeting "..."] [--record]] [--allow-callers +1..,+1..] [--name N]
dial-in room: callers enter the 6-digit PIN (read from stdin, stored hashed, never shown)
calls start --to <+E164> --from <+E164 yours> --purpose P [--mode agent|human] [--context-ref R] [--idempotency-key K] [--yes] [--watch]
calls watch <id> [--interval 2s] [--timeout 15m] print each event once until the call ends (exit 1 if it failed)
calls list [--number +E164] [--status ended] [--since RFC3339] [--limit N]
calls get <id> a call and its events
calls hangup <id>
calls sim-inbound --to <+E164 sim> --from <+E164> [--digits-stdin] simulator: a caller dials in (PIN on stdin)
conference start --from <+E164 yours> --to +E164,+E164,.. --purpose P [--name N] [--context-ref R] [--agent [--greeting "..."] [--disclosure "..."]] [--idempotency-key K] [--yes] [--watch]
dial every participant into one conference (each through the outbound gate)
conference watch <id> [--interval 2s] [--timeout 30m] print each conference and participant event once until it ends
conference list [--limit N]
conference get <id> (alias: status) a conference, its participant calls and its events
conference add <id> --to <+E164> [--yes] (alias: join) invite one more participant
conference remove <id> <call-id> hang up one participant
conference hangup <id> (alias: end) hang up everyone, end it, verify with the provider
conference say <id> --text "stop the conference" simulator: a participant speaks to the room's AI
campaigns create --name N --from <+E164 yours> --purpose P [--notes T | --notes-file F] [--instructions T | --instructions-file F]
[--concurrency N] [--max-attempts 1-5] [--retry-delay SECONDS] [--disclosure TEXT] [--call-category service|consented]
[--max-call-seconds 60-300] [--window HH:MM-HH:MM] [--timezone Area/City] [--budget N|none]
a draft outbound call campaign (calls go through the calls start path);
--instructions: what the AI is told on every call, over the number's default
campaigns update <id> [--name N] [--from +E164] [--purpose P] [--notes T | --notes-file F] [--instructions T | --instructions-file F]
[--concurrency N] [--max-attempts N] [--retry-delay S] [--disclosure TEXT] [--call-category service|consented]
[--max-call-seconds 60-300] [--window HH:MM-HH:MM] [--timezone Area/City] [--budget N|none]
--disclosure: what the AI says first on every recorded call (never empty)
--max-call-seconds: longest call (default 300 = 5 minutes, the hard maximum);
about 15s before it the AI says a closing line and hangs up (max_duration)
--window: when contacts are called, their local time (default 10:00-18:00),
inside the platform hours (CALL_WINDOW_EARLIEST/LATEST, 09:00-21:00); outside
it a contact waits for its next window (no attempt, no credits)
--timezone: IANA zone for contacts whose country spans several zones (+1);
a country with one zone (+91, +44, ...) always uses its own
--budget: spending cap in credits (none = no cap, the default); a call
starts only if spent + in progress + its worst case (cap minutes x credits
per minute) fits; otherwise nothing is claimed and status says budget reached
campaigns invoke --from <+E164 yours> --purpose P --budget N --contacts contacts.json [--name N] [--call-category service|consented]
[--instructions-file F] [--disclosure T] [--max-call-seconds N] [--window HH:MM-HH:MM --timezone Area/City]
[--idempotency-key K] [--yes]
create, import and start in one request (scope campaigns:invoke, never
implied by calls:place); contacts.json: [{phone, name?, data?: {...}}],
data is the contact's notes (compact JSON, at most 1000 characters);
--budget required; --max-call-seconds default 180; at most
INVOKE_MAX_CONTACTS contacts (default and max 100); asks y/N unless --yes;
numbers masked; the idempotency key is printed (reuse it to retry)
campaigns list campaigns with their contact counts
campaigns contacts import <id> <file.csv|-> CSV columns name,phone,notes (phone E.164 with +); upsert by phone;
a phone repeated in the file is reported and skipped (first row wins);
a phone on the do-not-call list is reported (masked) and never imported
campaigns start <id> [--yes] dial its contacts (agent mode, the number's agent, the outbound gate);
no answer / busy / failed: retried after --retry-delay (doubling) up to
--max-attempts; a refusal is final; no credits or a real number without
CAMPAIGN_REAL_DIAL_ENABLED and the org on OUTBOUND_REAL_ORGS: held
(status shows why), no attempt spent
campaigns start --brief "<line>" (--to +E164 | --to-sec NAME) --from <+E164 yours> --instructions-file F [--problem P] [--offer O] [--name N] [--disclosure T] [--language L] [--org SLUG] [--model M] [--research-cmd "<cmd>" [--allow-fallback]] [--allow-generic] [--debug] [--max-call-seconds 60-300] [--budget N] [--research-only] [--watch]
research one problem/offer (signed in + machine key + GEMINI_API_KEY), 4 gates, one-contact campaign
campaigns pause <id> no new calls; calls in progress finish
campaigns resume <id> a paused campaign dials again
campaigns stop <id> [--yes] end it for good: calls in progress finish, contacts not called are cancelled
campaigns status <id> status, why it is holding, contact counts, talk time, credits and cost
campaigns results <id> [--csv out.csv] [--transcripts] per contact: attempts, called, answered, outcome, call id,
summary (else a transcript excerpt), talk seconds, credits, cost;
--transcripts prints each call's turns; recording, disclosure_played,
recording_status, contact_id per contact
campaigns recording <id> <contact-id> -o file save the contact's call recording (through LiveConv; admins of
the org and calls:read keys only)
summary (else a transcript excerpt); --transcripts prints each call's turns
dnc list [--all] the org's do-not-call list (numbers masked); --all: unlisted history too
dnc add <+E164> [--reason R] never call this number again, on any path (audited; scope calls:place or dnc:manage)
dnc unlist <+E164> --reason R [--yes] it may be called again; kept as history (audited; scope dnc:manage only;
a self opt-out: 403 dnc_self_opt_out_superadmin_only, super admin only)
contacts upsert [--file F | -] [--phone-sec NAME --name N --company C --language L --timezone TZ --tags a,b --about-file F]
store contacts by phone (one object, an array, or {"contacts":[...]}, at most 500);
prints contact ids and created|updated, never a phone (scope contacts:write)
contacts list [--tag T] [--q Q] [--dnc] [--archived] [--limit N] [--cursor C] the org's contacts, phones masked (scope contacts:read)
contacts get <id> [--about] one contact; the about notes only with --about or --json
contacts patch <id> [--name N] [--company C] [--language L] [--timezone TZ] [--external-ref R] [--tags a,b] [--about-file F]
contacts archive <id> [--yes] leaves the default list and is no longer called
contacts calls <id> the contact's call history
connectors put <host> --client-id ID [--secret-sec NAME] [--token-url URL] MCP Store endpoint (OAuth client); secret on stdin or from sec
connectors list MCP Store endpoints (not the org's own MCP servers: see mcp)
connectors delete <host> [--yes]
billing usage [--from D] [--to D] [--group number|component|call] priced usage (scope billing:read):
provider cost, markup per line, price; totals per currency
billing number <number-id> [--from D] [--to D] one number's cost lines
The tenant's own MCP servers, agents and chat widget (issue #269). With a machine credential (LIVECONV_API_KEY /
LIVECONV_API_KEY_SEC) these use /v1/machine/... on the key's tenant (scopes mcp:read, mcp:manage, agents:manage);
signed in without a key, or with --org SLUG, they use the org routes as the signed-in user:
mcp list the tenant's own (static) MCP servers its agents and calls use
mcp add --url URL [--label L] [--agent-id ID] [--token-stdin | --token-sec NAME] token sealed, never shown
mcp test --url URL [--token-stdin | --token-sec NAME] connect and list tools, saves nothing
mcp recheck <id> list its tools again
mcp delete <id> [--yes]
mcp liveconv-tools enable|disable LiveConv's own safe tools as the tenant's MCP server
agents list
agents get <slug> one agent, with its soul (system prompt)
agents create --slug S --name N [--soul TEXT | --soul-file F|-] [--greeting G] [--tone T] [--access-all true|false]
agents update <slug> [--name N] [--soul TEXT | --soul-file F|-] [--greeting G] [--tone T] [--inherit-global true|false]
agents default <slug> make it the tenant's default agent
agents delete <slug> [--yes]
widget get <agent-slug> the chat window: public id, allowed sites, embed snippet
widget set <agent-slug> [--origins https://a.example,https://b.example] [--color #112233] [--position bottom-right] [--modes voice,chat]
Bind an agent and servers to a number: numbers policy <id> --route ai --assistant-id <agent id> --mcp-allow <server hostname>
Outbound event webhooks: any endpoint (CRM, WFNexus, ...) receives the tenant's events, signed. With a machine
credential these use /v1/machine/... (scope events:manage); signed in, or with --org SLUG, the org routes (org admin):
events subscriptions create --url https://... --types call.completed,campaign.* [--profile liveconv|wfnexus]
[--name N] [--include-refs] [--sec-name NAME | --secret-file F | --show-secret]
the signing secret is shown once (or stored in sec / a 0600 file)
events subscriptions list | get <id>
events subscriptions update <id> [--url U] [--types T] [--name N] [--enabled true|false] [--include-refs true|false]
events subscriptions rotate-secret <id> [--sec-name NAME | --secret-file F | --show-secret]
events subscriptions delete <id> [--yes]
events subscriptions test <id> queue a 'ping' event
events subscriptions deliveries <id> [--status pending|delivered|failed] [--limit N] the delivery log
events replay <delivery-id> send a delivered/failed delivery again, same event id
campaigns hooks add <campaign-id> --url https://... [--types campaign.*,contact.exhausted] [--profile liveconv|wfnexus]
[--sec-name NAME | --secret-file F | --show-secret]
a hook of one campaign: only that campaign's events (secret shown once)
campaigns hooks list <campaign-id> | update <campaign-id> <hook-id> [--url U] [--types T] [--enabled true|false]
campaigns hooks remove <campaign-id> <hook-id> [--yes] | test <campaign-id> <hook-id>
campaigns hooks deliveries <campaign-id> <hook-id> [--status S] [--limit N]
campaigns hooks replay <campaign-id> <delivery-id> send a hook's delivered/failed delivery again, same event id
Types: call.queued|started|answered|completed|failed, callback.requested, campaign.created|started|paused|resumed|
completed, contact.outcome, results.ready, credit.usage.recorded ('*' or 'campaign.*' patterns).
Signed-in user (liveconv login --saas):
login [--saas] [--no-browser] [--saas-api URL] [--saas-ui URL]
sign in through deemwar SaaS in the browser (loopback + PKCE, spec 011),
the only sign-in: org routes and the super-admin console (admin ...,
tenants create/delete), with a 10-minute product token per tenant;
tokens in the OS keychain only. Needs SAAS_PRODUCT_CLI=on on deemwar SaaS
logout end the deemwar SaaS session and forget it
me who you are signed in as (exit 3 when not)
orgs list your deemwar SaaS tenants that use LiveConv
machine-clients list [--org SLUG]
machine-clients create --name N --scopes a,b [--org SLUG] (--sec-name NAME | --secret-file PATH | --show-secret)
machine-clients rotate <id> [--grace-hours H] [--org SLUG] (--sec-name NAME | --secret-file PATH | --show-secret)
machine-clients revoke <id> [--org SLUG] [--yes]
phone status [--org SLUG] calls in progress for the org
tenants list your deemwar SaaS tenants that use LiveConv; * = current
tenants use <tenant> (alias: switch) the org your commands act on: your SaaS tenant (slug
or id); --org S when the LiveConv org's slug differs
tenants current which org commands use, and why
tenants create --name N [--slug S] [--use] super admin
tenants delete <slug> [--yes] super admin; IRREVERSIBLE; refused while the org holds or ever held a number
tenants voice get [<slug>] super admin: voice settings
tenants voice set [<slug>] [--provider plivo|sim] [--excluded-regions IN,..] [--outbound-countries GB,+44]
[--invite-decision-url URL] [--invite-decision-key-ref ORG_SECRET_X]
mcp ... / agents ... / widget ... [--org SLUG] as above, on --org or the current tenant (org admin for writes)
admin phone-claim move --from S --to S <+E164> super admin: move an org's registered phone number to another org
admin super-admins count | check <email> | add <email> super admin: the super-admin allowlist (add-only, emails masked)
(audited; any enforce flag; nothing released at the provider)
admin config get [KEY] super admin: runtime config
admin config set KEY VALUE [--reason R] (--reason required for BILLING_* keys; audited)
admin purchase-requests [--status pending] [--limit N] super admin: number purchase requests the tools filed
billing usage|number ... --org SLUG the same as the machine form, signed in (org admin; super admin any org);
without a machine credential the signed-in form is used
billing summary [--from D] [--to D] super admin: cost against price per org and currency, store outbox
billing prices list [--history] super admin: AI provider prices in force (and scheduled)
billing prices set <provider> <model|*> <unit> --price P --currency C --reason R [--from RFC3339]
adds a price from now (or --from); history is kept; audited
billing markup get [--org SLUG] super admin: platform markup (default 30), per-org overrides
billing markup set <percent> [--org SLUG] --reason R platform markup, or one org's override; audited
billing markup clear --org SLUG --reason R drop an org's override (it gets the platform markup again)
Org-scoped user commands use --org, else the current tenant (tenants use), else your only SaaS tenant.
Every command takes --json and --api-base URL. calls start, campaigns start, conference start and conference add ring
real phones (unless the org is in simulator mode) and ask first unless --yes.
Environment: LIVECONV_API_BASE, LIVECONV_API_KEY, LIVECONV_API_KEY_SEC, LIVECONV_CONFIG_DIR,
LIVECONV_SAAS_API, LIVECONV_SAAS_UI, LIVECONV_SAAS_PRODUCT (default liveconv).