Hanzo AI

Affiliate

The `hanzo affiliate` commands.

Also for this capability: API · CLI · MCP · SDKs

A partner program that pays commission on what your referrals spend.

API reference →

hanzo affiliate get

Every command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.

CommandWhat it does
hanzo affiliate applyEnrolls the caller's OWN org as an affiliate at status applied, optionally requesting a vanity code, and answers the…
hanzo affiliate attributeRecords the first-touch edge every later commission is computed from: the caller's org was referred by the affiliate…
hanzo affiliate clickCounts a click on a share link.
hanzo affiliate getAnswers the caller org's OWN affiliate standing: status, referral code and share link, commission rate, how many orgs…
hanzo affiliate leaderboardAnswers the top affiliates by lifetime accrued commission, shown by OPT-IN HANDLE with aggregate figures only, plus the…

me

CommandWhat it does
hanzo affiliate me earningsAnswers the caller's own commission ledger: per period, the margin it earned against and the commission taken from that…
hanzo affiliate me getAnswers the richer self-view: the same lifetime accrued, pending and paid commission and payout history, plus the…
hanzo affiliate me handleSets the caller's public leaderboard display name, or clears it.
hanzo affiliate me links createMints a new share link for the caller's own affiliate and answers it with its full URL, 201.
hanzo affiliate me links getAnswers the caller's share links, each with its URL and its funnel: clicks tracked, signups — orgs attributed with that…

How is this guide?

On this page