---
title: "Your referral code, share link (/r/<code>) and stats; sales via the link earn MU credits"
method: GET
path: "/api/agent/affiliate"
---

# Your referral code, share link (/r/<code>) and stats; sales via the link earn MU credits

`GET /api/agent/affiliate`

## Request

- Base URL: `https://wearmu.com`
- URL: `https://wearmu.com/api/agent/affiliate`
- Auth: HTTP bearer

## Response `200`

{code, link, stats}

## Other responses

- `401`: auth required

---

[API](https://skmtc.dev/wearmu/apis/mu-agent-api.md) · [All operations](https://skmtc.dev/wearmu/apis/mu-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wearmu/apis/mu-agent-api/revisions/d2bc00756d6e?raw)
