CLI commands
Environment
Section titled “Environment”| Variable | Purpose |
|---|---|
DIALDOZER_API_KEY | Required scoped API key |
DIALDOZER_BASE_URL | API origin; defaults to https://app.dialdozer.com/ |
DIALDOZER_TIMEOUT_MS | Request timeout; defaults to 30000 |
Use dialdozer --help for the built-in command summary and dialdozer doctor to verify configuration, connectivity, and authentication.
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.
Conversations and messages
Section titled “Conversations and messages”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.
dialdozer cti lookup --phone <phone>dialdozer cti dial --phone <phone>Metrics
Section titled “Metrics”dialdozer metrics ingest --json '{"points":[{"metric_key":"appointments","value":1}]}'Shell automation
Section titled “Shell automation”lead_json="$(dialdozer leads get 42)" || exitprintf '%s\n' "$lead_json" | jq -r '.lead.status'Every response is JSON. Check the command’s exit code before consuming stdout.