LiveConv CLI Reference (`liveconv`)
LiveConv CLI Reference (liveconv)
Section titled “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.
Installation
Section titled “Installation”# Build into apps/api/bin/liveconvtask cli:build
# Or install into $GOBINtask cli:install
# Verify installationliveconv versionAuthentication & Credentials
Section titled “Authentication & Credentials”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:
# Run a machine command with a secret from secsec run LIVECONV_API_KEY -- liveconv whoami
# Or map a named secret to LIVECONV_API_KEYsec run MY_ORG_KEY=LIVECONV_API_KEY -- liveconv numbers list
# Or let liveconv re-exec itself under sec automaticallyexport LIVECONV_API_KEY_SEC=MY_ORG_KEYliveconv numbers listGlobal Flags & Environment Variables
Section titled “Global Flags & Environment Variables”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 behttps://, orhttp://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 |
Exit Codes
Section titled “Exit Codes”| 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) |
Common Workflows
Section titled “Common Workflows”1. Sign in and select a tenant
Section titled “1. Sign in and select a tenant”liveconv login --saasliveconv meliveconv tenants listliveconv tenants use example-orgliveconv tenants current2. Mint a machine key into sec and verify it
Section titled “2. Mint a machine key into sec and verify it”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 whoami3. 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”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_01example4. Run a draft campaign (simulator or approved org)
Section titled “4. Run a draft campaign (simulator or approved org)”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.csvsec run LIVECONV_API_KEY -- liveconv campaigns status cmp_01exampleCommand Reference
Section titled “Command Reference”General & Auth
Section titled “General & Auth”liveconv version
Section titled “liveconv version”Print the CLI version.
liveconv versionliveconv whoami
Section titled “liveconv whoami”Show the active machine credential’s client name, org, and scopes.
sec run LIVECONV_API_KEY -- liveconv whoamiliveconv login
Section titled “liveconv login”Sign in through deemwar SaaS in the browser (loopback + PKCE). Flags: --saas, --no-browser, --saas-api URL, --saas-ui URL.
liveconv login --saasliveconv logout
Section titled “liveconv logout”End the deemwar SaaS session and remove tokens from the OS keychain.
liveconv logoutliveconv me
Section titled “liveconv me”Show the currently signed-in user (exits 3 when signed out).
liveconv meliveconv orgs list
Section titled “liveconv orgs list”List your deemwar SaaS tenants that have LiveConv enabled.
liveconv orgs listTenants & Voice Settings
Section titled “Tenants & Voice Settings”liveconv tenants list
Section titled “liveconv tenants list”List your LiveConv tenants (* marks the active tenant).
liveconv tenants listliveconv tenants use
Section titled “liveconv tenants use”Select the default tenant for org-scoped commands.
liveconv tenants use example-orgliveconv tenants switch
Section titled “liveconv tenants switch”Alias for liveconv tenants use.
liveconv tenants switch example-orgliveconv tenants current
Section titled “liveconv tenants current”Show which tenant commands target and how it was resolved.
liveconv tenants currentliveconv tenants create
Section titled “liveconv tenants create”(Super admin) Create a new tenant organization. Flags: --name N, --slug S, --use.
liveconv tenants create --name "Example Corp" --slug example-corp --useliveconv tenants delete
Section titled “liveconv tenants delete”(Super admin) Irreversibly delete a tenant (refused if the org holds or ever held a number). Flags: --yes.
liveconv tenants delete example-corp --yesliveconv tenants voice get
Section titled “liveconv tenants voice get”(Super admin) Inspect voice provider and outbound gate settings for a tenant.
liveconv tenants voice get example-orgliveconv tenants voice set
Section titled “liveconv tenants voice set”(Super admin) Update voice provider (plivo|sim), excluded regions, allowed outbound countries, or invite decision webhook.
liveconv tenants voice set example-org --provider sim --outbound-countries US,INMachine Clients & Phone Status
Section titled “Machine Clients & Phone Status”liveconv machine-clients list
Section titled “liveconv machine-clients list”List machine clients for an org. Flags: --org SLUG.
liveconv machine-clients list --org example-orgliveconv machine-clients create
Section titled “liveconv machine-clients create”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.
liveconv machine-clients create --name ci-reader --scopes numbers:read,calls:read \ --org example-org --sec-name LIVECONV_CI_READERliveconv machine-clients rotate
Section titled “liveconv machine-clients rotate”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.
liveconv machine-clients rotate mc_01example --grace-hours 24 \ --org example-org --sec-name LIVECONV_CI_READERliveconv machine-clients revoke
Section titled “liveconv machine-clients revoke”Revoke a machine client immediately. Flags: --org SLUG, --yes.
liveconv machine-clients revoke mc_01example --org example-org --yesliveconv phone status
Section titled “liveconv phone status”Show calls currently in progress for the org. Flags: --org SLUG.
liveconv phone status --org example-orgPhone Numbers
Section titled “Phone Numbers”Note:
numbers buyandnumbers releasemutate real carrier inventory and incur monthly charges; both prompt for confirmation unless--yesis passed.
liveconv numbers search
Section titled “liveconv numbers search”Search available phone numbers by country and type. Flags: --country CC, --type local|tollfree, --pattern P.
sec run LIVECONV_API_KEY -- liveconv numbers search --country US --type local --pattern 415liveconv numbers buy
Section titled “liveconv numbers buy”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.
sec run LIVECONV_API_KEY -- liveconv numbers buy +12025550100 \ --module support --country US --type local --yesliveconv numbers attach
Section titled “liveconv numbers attach”Attach an existing provider number to LiveConv. Flags: --module M, --country CC, --no-point-to-app, --idempotency-key K.
sec run LIVECONV_API_KEY -- liveconv numbers attach +12025550100 --module support --country USliveconv numbers list
Section titled “liveconv numbers list”List phone numbers owned by the org.
sec run LIVECONV_API_KEY -- liveconv numbers listliveconv numbers get
Section titled “liveconv numbers get”Show details and policy for one phone number.
sec run LIVECONV_API_KEY -- liveconv numbers get num_01exampleliveconv numbers release
Section titled “liveconv numbers release”Release a phone number back to the carrier. Flags: --yes.
sec run LIVECONV_API_KEY -- liveconv numbers release num_01example --yesliveconv numbers policy
Section titled “liveconv numbers policy”Inspect or update inbound routing policy (ai, human, crm_lookup, or conference with --pin-stdin).
sec run LIVECONV_API_KEY -- liveconv numbers policy num_01example \ --route ai --assistant-id agt_01example --mcp-allow tools.example.comNote:
calls startdials a real phone unless the org is in simulator mode.
liveconv calls start
Section titled “liveconv calls start”Place an outbound call. Flags: --to +E164, --from +E164, --purpose P, --mode agent|human, --context-ref R, --idempotency-key K, --yes, --watch.
sec run LIVECONV_API_KEY -- liveconv calls start \ --to +12025550199 --from +12025550100 --purpose "Status check" --mode agent --watchliveconv calls watch
Section titled “liveconv calls watch”Stream call events until the call ends (exits 1 if the call fails). Flags: --interval 2s, --timeout 15m.
sec run LIVECONV_API_KEY -- liveconv calls watch call_01example --interval 2sliveconv calls list
Section titled “liveconv calls list”List recent calls. Flags: --number +E164, --status S, --since RFC3339, --limit N.
sec run LIVECONV_API_KEY -- liveconv calls list --limit 20liveconv calls get
Section titled “liveconv calls get”Inspect one call and its event timeline.
sec run LIVECONV_API_KEY -- liveconv calls get call_01exampleliveconv calls hangup
Section titled “liveconv calls hangup”Hang up an active call.
sec run LIVECONV_API_KEY -- liveconv calls hangup call_01exampleliveconv calls sim-inbound
Section titled “liveconv calls sim-inbound”(Simulator mode) Simulate a caller dialing into a simulator number (optional PIN on stdin with --digits-stdin).
echo "123456" | sec run LIVECONV_API_KEY -- liveconv calls sim-inbound \ --to +12025550100 --from +12025550199 --digits-stdinConferences
Section titled “Conferences”liveconv conference start
Section titled “liveconv conference start”Dial multiple participants into a conference room (optional --agent). Flags: --from, --to, --purpose, --name, --context-ref, --agent, --greeting, --disclosure, --idempotency-key, --yes, --watch.
sec run LIVECONV_API_KEY -- liveconv conference start \ --from +12025550100 --to +12025550101,+12025550102 --purpose "Ops sync" --agent --watchliveconv conference watch
Section titled “liveconv conference watch”Stream conference and participant events until the conference ends. Flags: --interval 2s, --timeout 30m.
sec run LIVECONV_API_KEY -- liveconv conference watch conf_01exampleliveconv conference list
Section titled “liveconv conference list”List recent conferences. Flags: --limit N.
sec run LIVECONV_API_KEY -- liveconv conference list --limit 10liveconv conference get
Section titled “liveconv conference get”Show a conference, its participants, and its events.
sec run LIVECONV_API_KEY -- liveconv conference get conf_01exampleliveconv conference status
Section titled “liveconv conference status”Alias for liveconv conference get.
sec run LIVECONV_API_KEY -- liveconv conference status conf_01exampleliveconv conference add
Section titled “liveconv conference add”Dial an additional participant into an active conference. Flags: --to +E164, --yes.
sec run LIVECONV_API_KEY -- liveconv conference add conf_01example --to +12025550103liveconv conference join
Section titled “liveconv conference join”Alias for liveconv conference add.
sec run LIVECONV_API_KEY -- liveconv conference join conf_01example --to +12025550103liveconv conference remove
Section titled “liveconv conference remove”Hang up a single participant in a conference.
sec run LIVECONV_API_KEY -- liveconv conference remove conf_01example call_01exampleliveconv conference hangup
Section titled “liveconv conference hangup”Hang up all participants and end the conference.
sec run LIVECONV_API_KEY -- liveconv conference hangup conf_01exampleliveconv conference end
Section titled “liveconv conference end”Alias for liveconv conference hangup.
sec run LIVECONV_API_KEY -- liveconv conference end conf_01exampleliveconv conference say
Section titled “liveconv conference say”(Simulator mode) Inject spoken text from a participant to the room’s AI. Flags: --text T.
sec run LIVECONV_API_KEY -- liveconv conference say conf_01example --text "Please summarize next steps"Campaigns & Campaign Hooks
Section titled “Campaigns & Campaign Hooks”liveconv campaigns create
Section titled “liveconv campaigns create”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.
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 100liveconv campaigns update
Section titled “liveconv campaigns update”Update a draft or paused campaign’s settings.
sec run LIVECONV_API_KEY -- liveconv campaigns update cmp_01example --max-call-seconds 240 --budget 150liveconv campaigns invoke
Section titled “liveconv campaigns invoke”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.
sec run LIVECONV_API_KEY -- liveconv campaigns invoke \ --from +12025550100 --purpose "Event reminder" --budget 50 --contacts contacts.jsonliveconv campaigns list
Section titled “liveconv campaigns list”List campaigns and their contact counts.
sec run LIVECONV_API_KEY -- liveconv campaigns listliveconv campaigns contacts import
Section titled “liveconv campaigns contacts import”Import contacts from CSV (name,phone,notes) or stdin (-). Duplicate phones and DNC numbers are skipped and reported.
sec run LIVECONV_API_KEY -- liveconv campaigns contacts import cmp_01example contacts.csvliveconv campaigns start
Section titled “liveconv campaigns start”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.).
sec run LIVECONV_API_KEY -- liveconv campaigns start cmp_01exampleliveconv campaigns pause
Section titled “liveconv campaigns pause”Pause a running campaign (in-flight calls finish; no new calls start).
sec run LIVECONV_API_KEY -- liveconv campaigns pause cmp_01exampleliveconv campaigns resume
Section titled “liveconv campaigns resume”Resume a paused campaign.
sec run LIVECONV_API_KEY -- liveconv campaigns resume cmp_01exampleliveconv campaigns stop
Section titled “liveconv campaigns stop”Permanently stop a campaign and cancel remaining uncalled contacts. Flags: --yes.
sec run LIVECONV_API_KEY -- liveconv campaigns stop cmp_01example --yesliveconv campaigns status
Section titled “liveconv campaigns status”Show campaign status, hold reason (if any), contact counts, talk time, credits, and cost.
sec run LIVECONV_API_KEY -- liveconv campaigns status cmp_01exampleliveconv campaigns results
Section titled “liveconv campaigns results”Show per-contact outcomes, summaries, talk time, and costs. Flags: --csv out.csv, --transcripts.
sec run LIVECONV_API_KEY -- liveconv campaigns results cmp_01example --csv results.csvliveconv campaigns recording
Section titled “liveconv campaigns recording”Download a contact’s call recording through LiveConv. Flags: -o FILE.
sec run LIVECONV_API_KEY -- liveconv campaigns recording cmp_01example cnt_01example -o call.mp3liveconv campaigns hooks add
Section titled “liveconv campaigns hooks add”Attach a webhook endpoint to a single campaign. Flags: --url, --types, --profile liveconv|wfnexus, --sec-name | --secret-file | --show-secret.
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_SECRETliveconv campaigns hooks list
Section titled “liveconv campaigns hooks list”List webhooks attached to a campaign.
sec run LIVECONV_API_KEY -- liveconv campaigns hooks list cmp_01exampleliveconv campaigns hooks update
Section titled “liveconv campaigns hooks update”Update a campaign webhook’s URL, event types, or enabled state.
sec run LIVECONV_API_KEY -- liveconv campaigns hooks update cmp_01example hook_01example --enabled falseliveconv campaigns hooks remove
Section titled “liveconv campaigns hooks remove”Remove a webhook from a campaign. Flags: --yes.
sec run LIVECONV_API_KEY -- liveconv campaigns hooks remove cmp_01example hook_01example --yesliveconv campaigns hooks test
Section titled “liveconv campaigns hooks test”Send a test ping event to a campaign webhook.
sec run LIVECONV_API_KEY -- liveconv campaigns hooks test cmp_01example hook_01exampleliveconv campaigns hooks deliveries
Section titled “liveconv campaigns hooks deliveries”List webhook delivery attempts for a campaign hook. Flags: --status, --limit.
sec run LIVECONV_API_KEY -- liveconv campaigns hooks deliveries cmp_01example hook_01example --limit 20liveconv campaigns hooks replay
Section titled “liveconv campaigns hooks replay”Replay a delivered or failed campaign webhook delivery with the same event ID.
sec run LIVECONV_API_KEY -- liveconv campaigns hooks replay cmp_01example del_01exampleDo-Not-Call (DNC) & Contacts
Section titled “Do-Not-Call (DNC) & Contacts”liveconv dnc list
Section titled “liveconv dnc list”List the org’s do-not-call entries (phones masked). Flags: --all (include unlisted history).
sec run LIVECONV_API_KEY -- liveconv dnc listliveconv dnc add
Section titled “liveconv dnc add”Add a phone number to the org’s DNC list (audited). Flags: --reason R.
sec run LIVECONV_API_KEY -- liveconv dnc add +12025550199 --reason "Requested opt-out"liveconv dnc unlist
Section titled “liveconv dnc unlist”Remove a number from active DNC (kept in history; self opt-outs require super admin). Flags: --reason R, --yes.
sec run LIVECONV_API_KEY -- liveconv dnc unlist +12025550199 --reason "Re-consented via ticket #42" --yesliveconv contacts upsert
Section titled “liveconv contacts upsert”Create or update contacts by phone from JSON (--file F | -) or flags (--phone-sec, --name, --company, --language, --timezone, --tags, --about-file).
sec run LIVECONV_API_KEY -- liveconv contacts upsert --file contacts.jsonliveconv contacts list
Section titled “liveconv contacts list”List org contacts (phones masked). Flags: --tag, --q, --dnc, --archived, --limit, --cursor.
sec run LIVECONV_API_KEY -- liveconv contacts list --limit 25liveconv contacts get
Section titled “liveconv contacts get”Inspect one contact. Flags: --about (include about notes).
sec run LIVECONV_API_KEY -- liveconv contacts get cnt_01example --aboutliveconv contacts patch
Section titled “liveconv contacts patch”Update fields on an existing contact. Flags: --name, --company, --language, --timezone, --external-ref, --tags, --about-file.
sec run LIVECONV_API_KEY -- liveconv contacts patch cnt_01example --company "Example LLC" --tags vip,renewalliveconv contacts archive
Section titled “liveconv contacts archive”Archive a contact so it is excluded from default lists and calls. Flags: --yes.
sec run LIVECONV_API_KEY -- liveconv contacts archive cnt_01example --yesliveconv contacts calls
Section titled “liveconv contacts calls”List call history for one contact.
sec run LIVECONV_API_KEY -- liveconv contacts calls cnt_01exampleAgents, Chat Widget & MCP
Section titled “Agents, Chat Widget & MCP”liveconv agents list
Section titled “liveconv agents list”List agents in the tenant.
liveconv agents list --org example-orgliveconv agents get
Section titled “liveconv agents get”Show one agent including its soul (system prompt).
liveconv agents get support-bot --org example-orgliveconv agents create
Section titled “liveconv agents create”Create an agent. Flags: --slug, --name, --soul | --soul-file, --greeting, --tone, --access-all.
liveconv agents create --slug sales-bot --name "Sales Bot" \ --soul-file soul.txt --greeting "Hi there!" --org example-orgliveconv agents update
Section titled “liveconv agents update”Update an agent’s name, soul, greeting, tone, or global inheritance.
liveconv agents update sales-bot --tone friendly --org example-orgliveconv agents default
Section titled “liveconv agents default”Set an agent as the tenant’s default agent.
liveconv agents default support-bot --org example-orgliveconv agents delete
Section titled “liveconv agents delete”Delete an agent. Flags: --yes.
liveconv agents delete sales-bot --org example-org --yesliveconv widget get
Section titled “liveconv widget get”Show an agent’s chat widget public ID, allowed origins, and embed snippet.
liveconv widget get support-bot --org example-orgliveconv widget set
Section titled “liveconv widget set”Configure an agent’s chat widget. Flags: --origins, --color, --position, --modes voice,chat.
liveconv widget set support-bot --origins https://example.com --color "#112233" --modes voice,chat --org example-orgliveconv mcp list
Section titled “liveconv mcp list”List the tenant’s static MCP servers.
liveconv mcp list --org example-orgliveconv mcp add
Section titled “liveconv mcp add”Register a static MCP server (token sealed, never shown). Flags: --url, --label, --agent-id, --token-stdin | --token-sec NAME.
liveconv mcp add --url https://mcp.example.com/sse --label "CRM Tools" --token-sec CRM_MCP_TOKEN --org example-orgliveconv mcp test
Section titled “liveconv mcp test”Test connecting to an MCP server and list its tools without saving. Flags: --url, --token-stdin | --token-sec NAME.
liveconv mcp test --url https://mcp.example.com/sse --token-sec CRM_MCP_TOKENliveconv mcp recheck
Section titled “liveconv mcp recheck”Refresh the discovered tool list for an existing MCP server.
liveconv mcp recheck mcp_01example --org example-orgliveconv mcp delete
Section titled “liveconv mcp delete”Delete a static MCP server. Flags: --yes.
liveconv mcp delete mcp_01example --org example-org --yesliveconv mcp liveconv-tools enable
Section titled “liveconv mcp liveconv-tools enable”Enable LiveConv’s built-in safe MCP tools for the tenant.
liveconv mcp liveconv-tools enable --org example-orgliveconv mcp liveconv-tools disable
Section titled “liveconv mcp liveconv-tools disable”Disable LiveConv’s built-in safe MCP tools for the tenant.
liveconv mcp liveconv-tools disable --org example-orgliveconv connectors put
Section titled “liveconv connectors put”Register or update an OAuth MCP Store connector (machine key). Flags: --client-id, --secret-sec NAME, --token-url.
sec run LIVECONV_API_KEY -- liveconv connectors put store.example.com \ --client-id client_example --secret-sec MCP_STORE_SECRETliveconv connectors list
Section titled “liveconv connectors list”List registered MCP Store connectors.
sec run LIVECONV_API_KEY -- liveconv connectors listliveconv connectors delete
Section titled “liveconv connectors delete”Delete an MCP Store connector. Flags: --yes.
sec run LIVECONV_API_KEY -- liveconv connectors delete store.example.com --yesEvent Webhooks
Section titled “Event Webhooks”liveconv events subscriptions create
Section titled “liveconv events subscriptions create”Create a tenant-wide outbound webhook subscription. Flags: --url, --types, --profile liveconv|wfnexus, --name, --include-refs, --sec-name | --secret-file | --show-secret.
liveconv events subscriptions create \ --url https://hooks.example.com/events --types call.completed,campaign.* \ --sec-name LIVECONV_WEBHOOK_SECRET --org example-orgliveconv events subscriptions list
Section titled “liveconv events subscriptions list”List webhook subscriptions for the tenant.
liveconv events subscriptions list --org example-orgliveconv events subscriptions get
Section titled “liveconv events subscriptions get”Inspect one webhook subscription.
liveconv events subscriptions get sub_01example --org example-orgliveconv events subscriptions update
Section titled “liveconv events subscriptions update”Update a webhook subscription’s URL, types, name, enabled state, or --include-refs.
liveconv events subscriptions update sub_01example --enabled true --org example-orgliveconv 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.
liveconv events subscriptions rotate-secret sub_01example --sec-name LIVECONV_WEBHOOK_SECRET --org example-orgliveconv events subscriptions delete
Section titled “liveconv events subscriptions delete”Delete a webhook subscription. Flags: --yes.
liveconv events subscriptions delete sub_01example --org example-org --yesliveconv events subscriptions test
Section titled “liveconv events subscriptions test”Queue a ping event to verify endpoint delivery.
liveconv events subscriptions test sub_01example --org example-orgliveconv events subscriptions deliveries
Section titled “liveconv events subscriptions deliveries”Inspect delivery attempts for a subscription. Flags: --status pending|delivered|failed, --limit N.
liveconv events subscriptions deliveries sub_01example --status failed --limit 20 --org example-orgliveconv events replay
Section titled “liveconv events replay”Replay a delivered or failed webhook delivery with the same event ID.
liveconv events replay del_01example --org example-orgBilling & Pricing
Section titled “Billing & Pricing”liveconv billing usage
Section titled “liveconv billing usage”Show priced usage (provider cost, markup, price) grouped by number, component, or call. Flags: --from D, --to D, --group, --org SLUG.
liveconv billing usage --from 2026-11-01 --to 2026-11-30 --group component --org example-orgliveconv billing number
Section titled “liveconv billing number”Show cost lines for a single phone number. Flags: --from D, --to D, --org SLUG.
liveconv billing number num_01example --from 2026-11-01 --org example-orgliveconv billing summary
Section titled “liveconv billing summary”(Super admin) Platform-wide cost vs. price summary per org and currency. Flags: --from D, --to D.
liveconv billing summary --from 2026-11-01 --to 2026-11-30liveconv billing prices list
Section titled “liveconv billing prices list”(Super admin) List AI provider prices currently in force (and scheduled). Flags: --history.
liveconv billing prices list --historyliveconv billing prices set
Section titled “liveconv billing prices set”(Super admin) Add a new AI provider price (audited; history preserved). Flags: --price P, --currency C, --reason R, --from RFC3339.
liveconv billing prices set gemini gemini-2.5-flash-live audio_in_min \ --price 0.05 --currency USD --reason "Updated vendor rate card"liveconv billing markup get
Section titled “liveconv billing markup get”(Super admin) Show platform markup percentage (default 30) and per-org overrides. Flags: --org SLUG.
liveconv billing markup getliveconv billing markup set
Section titled “liveconv billing markup set”(Super admin) Set platform markup or a per-org override (audited). Flags: --org SLUG, --reason R.
liveconv billing markup set 25 --org example-org --reason "Enterprise contract rate"liveconv billing markup clear
Section titled “liveconv billing markup clear”(Super admin) Remove a per-org markup override so the org inherits the platform default. Flags: --org SLUG, --reason R.
liveconv billing markup clear --org example-org --reason "Contract ended"Platform Administration (Super Admin)
Section titled “Platform Administration (Super Admin)”liveconv admin config get
Section titled “liveconv admin config get”(Super admin) Read one or all runtime config keys.
liveconv admin config getliveconv admin config set
Section titled “liveconv admin config set”(Super admin) Update a runtime config key (--reason required for BILLING_* keys; audited).
liveconv admin config set CALL_WINDOW_EARLIEST 09:00 --reason "Standardize calling hours"liveconv admin purchase-requests
Section titled “liveconv admin purchase-requests”(Super admin) List number purchase requests filed by tools. Flags: --status pending, --limit N.
liveconv admin purchase-requests --status pending --limit 20liveconv admin phone-claim move
Section titled “liveconv admin phone-claim move”(Super admin) Move a registered phone number from one org to another without releasing it at the carrier (audited). Flags: --from S, --to S.
liveconv admin phone-claim move --from old-org --to new-org +12025550100liveconv admin super-admins count
Section titled “liveconv admin super-admins count”(Super admin) Count entries in the super-admin allowlist.
liveconv admin super-admins countliveconv admin super-admins check
Section titled “liveconv admin super-admins check”(Super admin) Check whether an email is on the super-admin allowlist.
liveconv admin super-admins add
Section titled “liveconv admin super-admins add”(Super admin) Add an email to the super-admin allowlist (add-only, audited).
Generated --help Output
Section titled “Generated --help Output”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 ...) orLIVECONV_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 machinecredential 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 ringreal 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).