Skip to content
VaakyoDocs
Navigation
Open console →

Account

CLI

The Vaakyo CLI drives the public API from a terminal or a script: list agents, place calls, read transcripts and check credits. Every command takes --json, so scripts and AI agents can read the output.

Install

npx vaakyo --help          # run without installing
npm install -g vaakyo      # or install it (Node 18 or later)

Sign in

Create an API key in the console (Settings > API keys), then either export it or save it:

export VAAKYO_API_KEY=vx_...
vaakyo login               # asks for the key and saves it in ~/.config/vaakyo/config.json
vaakyo whoami

Commands

CommandWhat it does
vaakyo agents listYour agents
vaakyo agents get <agent_id>One agent
vaakyo call <agent_id> <phone> [--data key=value ...]Place a call; --data becomes user_data for the agent’s {variables}
vaakyo calls list [--agent <id>] [--status <s>] [--limit <n>]Recent calls
vaakyo calls get <call_id> [--transcript]A call with its summary and transcript
vaakyo calls hangup <call_id>End a live call
vaakyo numbers listYour phone numbers
vaakyo balanceCredits and plan
vaakyo api <METHOD> <path> [--body '{...}']Any /api/v1 endpoint

Phone numbers without a country code are taken as Indian (9800000000 becomes +919800000000).

vaakyo call agt_123 9800000000 --data name=Rohan --data order=KF-1042
vaakyo calls get call_456 --transcript
vaakyo api GET "/calls?status=completed&limit=5" --json | jq '.items[].id'

Exit codes

0 success, 1 an error (the message is printed), 2 the key is missing, invalid or lacks the permission. On 429 the CLI prints how long to wait.

Esc