--json output, agents can parse responses and build fully automated affiliate workflows.
Why use the CLI with agents?
Structured output
Every command supports
--json for machine-readable responses that agents can parse reliably.Full coverage
All Affonso API operations are available — affiliates, referrals, commissions, payouts, program settings, and more.
Simple auth
Set
AFFONSO_API_KEY once in the agent’s environment and every command is authenticated.Composable
Agents can chain commands together to build complex workflows — approve affiliates, track conversions, process payouts.
Setup
Set the API key in the agent’s environment:affonso command without additional authentication.
