# Referral

URL: https://docs.hanzo.ai/docs/cli/referral

> The `hanzo referral` commands.

Also for this capability: [API](https://docs.hanzo.ai/docs/openapi/referral) · **CLI** · [SDKs](https://docs.hanzo.ai/docs/sdks)

Referral ATTRIBUTION: who referred whom, and whether that referee ever became a real customer.

[API reference →](https://docs.hanzo.ai/docs/openapi/referral)

```bash
hanzo referral 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.

| Command                | What it does                                                                     |
| ---------------------- | -------------------------------------------------------------------------------- |
| `hanzo referral claim` | Records that the caller's org signed up through a referral code.                 |
| `hanzo referral get`   | Returns the caller's referral code, share link and the referrals they have made. |
