CyberTemp CLI
A no-install command line for disposable inboxes. Built for QA scripts, CI pipelines, OTP automation, and one-off testing from the terminal.
Opens your browser.
npx cybertemp loginPrints the address.
ADDR=$(npx cybertemp new)Core plan and above.
OTP=$(npx cybertemp wait-otp "$ADDR")npx cybertemp login opens your default browser. You approve the device, and the CLI gets a scoped token written to ~/.config/cybertemp/config.json (mode 600).
Tokens are per-device and revocable from Settings → CLI sessions. Run npx cybertemp logout to revoke locally and on the server.
On a machine without a browser, run npx cybertemp login --no-browser and open the printed link on any device.
In CI, skip login and set CYBERTEMP_API_KEY to an API key from your settings. It takes precedence over a saved login.
No anonymous use. The CLI requires login — there's no demo mode.
| npx cybertemp login [--no-browser] | Approve this device in your browser. The token is saved to ~/.config/cybertemp/config.json. |
| npx cybertemp logout | Revoke the current device's token and delete the local config. |
| npx cybertemp whoami | Show the logged-in account, plan, and current usage. |
| npx cybertemp new [--domain <domain>] [--username <name>] | Create a new inbox. Prints the email address to stdout. |
| npx cybertemp list | List your active inboxes. |
| npx cybertemp wait <address> [--timeout <s>] | Block until a message arrives in the inbox, then print it. |
| npx cybertemp wait-otp <address> [--timeout <s>] | Wait for an OTP (Core+). Prints just the code to stdout — handy in scripts. |
| npx cybertemp messages <address> [--limit <n>] | List messages in an inbox. |
| npx cybertemp delete <address> | Delete an inbox. |
| npx cybertemp domains | List the domains you can create inboxes on. |
Each command that calls the API counts toward your plan's per-second rate limit, and each inbox it opens counts toward your concurrent-inbox cap. Paid plans raise both — see the pricing page.
When you hit a tier limit, the CLI prints:
✗ Inbox limit reached (5/5 on the Free plan).
Delete one with: cybertemp delete <address>
Or upgrade at https://cybertemp.xyz/pricing?ref=cli_quotaEvery command accepts --json for machine-readable JSON output.
ADDR=$(npx cybertemp new)
# …submit a sign-up form with "$ADDR"…
OTP=$(npx cybertemp wait-otp "$ADDR" --timeout 120)
case $? in
0) echo "code: $OTP" ;;
3) echo "no code in time" ;;
*) exit 1 ;;
esacExit codes
| 0 | Success |
| 1 | Error: API, network, sign-in or plan limit |
| 2 | Usage error: unknown command or flag, or a missing argument |
| 3 | Timed out (wait, wait-otp) |