Skip to content

CLI commands

VariablePurpose
DIALDOZER_API_KEYRequired scoped API key
DIALDOZER_BASE_URLAPI origin; defaults to https://app.dialdozer.com/
DIALDOZER_TIMEOUT_MSRequest timeout; defaults to 30000

Use dialdozer --help for the built-in command summary and dialdozer doctor to verify configuration, connectivity, and authentication.

Terminal window
dialdozer leads get <lead-id>
dialdozer leads create --phone <phone> --list-id <id> [options]

Create options include --first-name, --last-name, --email, --source, and --hopper.

Terminal window
dialdozer conversations get <lead-id>
dialdozer messages send --lead-id <id> --channel <sms|email|note> \
--body <text> [--operation-id <id>] [--subject <text>]

When omitted, operation_id is generated with a UUID. Supply a stable value when your workflow may retry the same send.

Terminal window
dialdozer cti lookup --phone <phone>
dialdozer cti dial --phone <phone>
Terminal window
dialdozer metrics ingest --json '{"points":[{"metric_key":"appointments","value":1}]}'
Terminal window
lead_json="$(dialdozer leads get 42)" || exit
printf '%s\n' "$lead_json" | jq -r '.lead.status'

Every response is JSON. Check the command’s exit code before consuming stdout.