---
title: "Get My Referral Code"
method: GET
path: "/referrals/my-code"
tags: ["General APIs with JWT"]
---

# Get My Referral Code

`GET /referrals/my-code`

Get or create referral code for the authenticated user.

## Response `200`

Successful Response

- ReferralCodeResponse
  - `referral_code` string, required
  - `referral_link` string, nullable

---

[API](https://skmtc.dev/lium/apis/lium-backend-api.md) · [All operations](https://skmtc.dev/lium/apis/lium-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lium/lium-backend-api/revisions/57db0a9348db/schema)
