CLI
The bindly CLI is the fastest way to work with your Bindly workspace from a
terminal or a script. It wraps the REST API and handles sign-in and
token refresh for you. Source lives at
github.com/taventech/bindly-cli.
Install
Section titled “Install”npm i -g bindly-clibrew install taventech/tap/bindlycurl -fsSL https://github.com/taventech/bindly-cli/releases/latest/download/install.sh | shThe npm package is bindly-cli and it provides the bindly command. The
Homebrew and curl options install a self-contained binary, so Node is not
required.
Sign in
Section titled “Sign in”bindly loginBy default bindly login uses the OAuth 2.1 device flow: it prints a short code
and a URL, you approve the sign-in in Bindly, and the CLI stores a short-lived
token. Other modes:
bindly login --browser # loopback browser sign-in on a machine with a browserbindly login --api-key bsk_... # non-interactive, using a workspace API keySign out with bindly logout. Credentials are stored at
~/.config/taven-cli/bindly.prod.json with 0600 permissions, and access
tokens refresh automatically. For the full auth model, see
Authentication.
Command reference
Section titled “Command reference”Run bindly <command> --help for flags and examples on any command.
| Command | What it does |
|---|---|
bindly session new --insured <name> [--state ST] [--lob a,b] [--naics code] |
Start an intake session for an insured. |
bindly session list |
List your workspace’s sessions. |
bindly session get <session-id> |
Show one session’s detail and intake progress. |
bindly session submit <session-id> |
Submit a ready session to Hedge on your connected account. |
bindly login / bindly logout |
Sign in and out. |
A typical flow
Section titled “A typical flow”-
Sign in once:
Terminal window bindly login -
Start an intake session for the insured:
Terminal window bindly session new --insured "Acme HVAC" --state TX --lob general_liability -
Fill the intake in the Bindly app, or from an MCP assistant, then check progress:
Terminal window bindly session get <session-id> -
Submit the finished session to Hedge:
Terminal window bindly session submit <session-id>The command returns the Hedge submission id.