Skip to main content
The CLI uses the same tenant API key as /v1. There is no separate console credential. Run it from a checkout of the Watahub Enterprise Edition repository after pnpm install --frozen-lockfile.
login writes the key to ~/.watahub/config.json. The default base URL is https://cloud.watahub.dev. Override it with WATAHUB_BASE_URL or --base-url.

Commands

setup only prints a hosted connect URL. It never opens Facebook. setup accepts optional --customer, --success-redirect, --failure-redirect and --connection-type. Without --phone-number-id, webhooks new creates a project webhook. Pass --inactive to create it disabled. logs search accepts --origin and --errors. broadcasts send creates a draft and immediately queues it. The template must already be cached and APPROVED; sync templates first. You can repeat --to for additional recipients. See authentication for how the key is sent, and errors for failed calls.