Skip to content

CLI

The DialDozer CLI wraps the same API used by MCP. It is suited to shell automation, incident response, testing, and CI jobs.

Terminal window
git clone https://github.com/brahimhamichan/dial-dozer.git
cd dial-dozer
export DIALDOZER_API_KEY='ddz_live_replace_me'
node tools/dialdozer/bin/dialdozer.mjs doctor

For a shorter command, create a shell alias:

Terminal window
alias dialdozer='node /absolute/path/to/dial-dozer/tools/dialdozer/bin/dialdozer.mjs'
  • JSON output on stdout for every successful command.
  • Non-zero exit status on HTTP or validation errors.
  • Safe structured JSON errors on stderr without secret values.
  • API key and base URL from environment, never a command argument.
  • Commands mirror API nouns and verbs.
Terminal window
dialdozer leads get 42
dialdozer conversations get 42
dialdozer cti lookup --phone '+1 555 123 4567'

See command reference for every operation.