Integrations

CLI

Manage affiliates, commissions, and payouts from a terminal or AI agent with the Affonso CLI.

Built by
Affonso
Website
affonso.io
Category
Developer Tools
Install

About CLI

The Affonso CLI is a command-line interface for managing an affiliate program from a terminal. Install the @affonso/cli package, sign in with your Affonso account, and run commands for affiliates, referrals, commissions, payouts, and program settings. Every command supports JSON output, so scripts and AI agents can read the result and use it in the next step of a workflow.

Use with Affonso

Check pending commissions before a payout run, list newly joined affiliates, or export program data as JSON for an internal report. A developer can add the same commands to a shell script, while an AI agent with terminal access can use structured output to inspect the program and continue a task. The CLI documentation covers installation, login, and available commands.

What you can do with the Affonso CLI

  • Terminal operations: Work with affiliates, referrals, commissions, payouts, and settings without opening the dashboard.
  • Structured output: Use JSON responses in scripts and other tools that need to parse command results.
  • AI agent workflows: Let an agent with shell access run the same Affonso commands as a developer.