Skip to content

Multi Account & Proxy

phucmpham edited this page Mar 16, 2026 · 1 revision

Multi-Account & Proxy

Each Zalo account can be bound to its own dedicated proxy (1:1 mapping).

# Login with proxy
zalo-agent account login --proxy "http://user:pass@proxy:8080" --name "Shop A"

# Another account, different proxy
zalo-agent account login --proxy "socks5://user:pass@proxy2:1080" --name "Shop B"

# List accounts (passwords always masked)
zalo-agent account list

# Switch
zalo-agent account switch <ownerId>

Important

  • Zalo enforces 1 account = 1 device (IMEI). Each QR login auto-generates a unique IMEI.
  • Use 1 dedicated proxy per account — sharing proxies risks both accounts being flagged.
  • Supported: http://, https://, socks5://
  • Proxy passwords are never displayed — always masked as ***.

Clone this wiki locally