Developers / CLI

Build and test your integration from the terminal.

The BuzinessAI CLI forwards webhooks to localhost, triggers test events on demand and tails your API logs — so you can build and debug without leaving your editor.

terminal
$ buziness login
$ buziness listen --forward-to localhost:3000/webhooks
  Ready. Forwarding events to localhost:3000/webhooks

$ buziness trigger lead.created
  → lead.created  [200] evt_3Kd91q

Webhooks on localhost

Receive real, signed events on your machine without deploying or opening a tunnel yourself.

Trigger any event

Fire test events like a new lead or a rejected ad whenever you need them, instead of waiting for one.

Live request logs

Stream every API request and response as it happens, with status codes and request IDs.

Common commands. Everything else is one --help away.

  • buziness loginConnect the CLI to your workspace
  • buziness listenForward webhook events to a local URL
  • buziness trigger <event>Send a test event to your endpoints
  • buziness logs tailStream live API request logs
  • buziness campaigns listList campaigns and their delivery status
  • buziness leads get <id>Inspect a lead and its attribution
  • buziness sandbox resetRestore test data to its starting state

Install and connect. A working local setup in under a minute.

  1. 01

    Install

    Available through Homebrew, npm or as a standalone binary for macOS, Linux and Windows.

    terminal
    brew install buziness/tap/buziness
  2. 02

    Log in

    Pair the CLI with your workspace in the browser. It only ever uses test mode unless you say otherwise.

    terminal
    buziness login
  3. 03

    Forward events

    Point events at your local server and trigger one to see the full round trip.

Ready to start building?

Get an API key, follow the quickstart and send your first request in minutes.

Webhooks

Hear about new leads, posts and campaign changes as they happen.

Set up webhooks

Sandbox

Test against realistic data without touching live accounts.

Open the sandbox docs