The PostlyBee CLI wraps the Public API in an installable postlybee command. It is designed for repeatable automation: every command returns JSON, every Workspace operation uses the same user API Token and tenant checks as the SDK, and self-hosted installations can select a different API origin.
Installation
Node.js 18 or newer is required.
Quick start
When a Token can access exactly one Workspace, commands automatically select it. With multiple Workspaces, pass --workspace, set POSTLYBEE_WORKSPACE_ID, or save a default during auth:login.
Commands overview
Global options
Run postlybee <command> --help for command-specific options. Last modified on August 26, 2026