WAHooks
CLI

Authentication

Log in to the WAHooks CLI

Browser login (default)

wahooks login

This opens your browser to wahooks.com where you can sign in with Google or email/password. If you're already logged into the dashboard, just click Authorize CLI.

The CLI receives your session tokens automatically — no copy-pasting needed.

Email/password login

wahooks login --no-browser

Or provide credentials directly:

wahooks login user@example.com -p your-password

Token refresh

The CLI automatically refreshes expired tokens. Supabase access tokens expire after 1 hour, but the CLI uses the refresh token to get a new one transparently.

Check auth status

wahooks status
  API URL: https://api.wahooks.com
  Auth: authenticated

Config file

Authentication state is stored in ~/.wahooks.json:

{
  "api_url": "https://api.wahooks.com",
  "token": "eyJhbG...",
  "refresh_token": "beo254..."
}

The config file contains your auth tokens. Keep it secure and don't commit it to version control.

On this page