CLI Help Desk Playbook
CLI Help Desk Playbook
Section titled “CLI Help Desk Playbook”Use this script to guide customers using moby in production.
- Customer has a Mobayilo account.
- Customer wants to call from terminal with
moby. - Support goal is to get customer from login to successful call.
Standard support flow
Section titled “Standard support flow”1) Confirm prerequisites
Section titled “1) Confirm prerequisites”Ask customer to confirm:
mobyis installed and runnable (moby --help).- They have a valid CLI token.
- They are on production by default (no
--hostneeded).
If moby is not installed yet:
curl -fsSL https://mobycli.mobayilo.com/install.sh | shThen ask customer to update binary first:
moby self-updatemoby --version2) Login and verify auth
Section titled “2) Login and verify auth”Ask customer to run:
moby auth loginmoby auth status --jsonExpected: "authenticated": true
Fallback if browser/device login is blocked:
moby auth login --api-token <YOUR_CLI_TOKEN>3) Confirm account balance
Section titled “3) Confirm account balance”moby balance --jsonIf balance_cents is 0, customer must top up before caller ID verification or calling.
4) Verify caller ID (mandatory for CLI calling)
Section titled “4) Verify caller ID (mandatory for CLI calling)”Request code:
moby caller-id request <PHONE_NUMBER> [--country <ISO>]CLI prompts immediately for SMS code after request. Manual fallback:
moby caller-id confirm <SMS_CODE>Phone format rule:
- Caller ID request accepts local or international input.
- If user enters a local number, include
--country <ISO>(for exampleJP,US). confirmreuses the most recent request reference saved locally.
5) Place call
Section titled “5) Place call”Place call directly:
moby call <DESTINATION> [--country <ISO_OR_NAME>]Destination format rule:
- Destination can be E.164 or local format.
- For local format, pass
--country <ISO_OR_NAME>(example:JPorJapan). moby calldefaults to desktop audio mode and auto-starts local agent when needed.- Use
--callbackonly for legacy phone callback.
6) Top up if needed
Section titled “6) Top up if needed”moby topup 5Note:
- Stripe payment opens automatically in browser by default (
--no-opendisables auto-open). - Minimum top-up is
$5.00(some account types may require more).
Fast error triage
Section titled “Fast error triage”authentication token required- Action: run
moby auth login ...again or pass--token.
- Action: run
new version availablenotice- Action: run
moby self-updateand retry command.
- Action: run
invalid_token/expired_token/revoked_token- Action: issue a new CLI token and re-login.
positive_balance_required- Action: top up account and retry.
missing_caller_id- Action: complete caller ID request + confirm flow.
invalid_destination- Action: retry with valid number; if local format, add
--country.
- Action: retry with valid number; if local format, add
invalid_amount- Action: increase top-up amount to minimum allowed.
How customer gets manual CLI token
Section titled “How customer gets manual CLI token”Manual token path is fallback only.
- Customer signs in to Mobayilo web app.
- Go to
Settings->CLI access. - Create token (scope + expiry).
- Copy token once and run:
moby auth login --api-token <YOUR_CLI_TOKEN>Copy-paste response template for support
Section titled “Copy-paste response template for support”Please run these commands in order:1) moby self-update2) moby auth login3) moby auth status --json4) moby balance --json5) moby caller-id request <NATIONAL_NUMBER> --country <ISO>6) (enter SMS code in prompt, or run: moby caller-id confirm <SMS_CODE>)7) moby call <DESTINATION> [--country <ISO_OR_NAME>]
If browser login is blocked, use:moby auth login --api-token <YOUR_CLI_TOKEN>
If balance is zero, run:moby topup 5Escalate when
Section titled “Escalate when”- Customer receives repeated 5xx API errors.
- SMS code never arrives after repeated retries.
- Caller ID confirm keeps failing with valid code.
- Account appears authenticated but data is inconsistent across
statusandbalance.