---
title: "Get Or Create Referral Code"
method: GET
path: "/api/referral/code"
tags: ["referral"]
---

# Get Or Create Referral Code

`GET /api/referral/code`

## Request

- Base URL: `https://aiapi-pro.com` (the document declares no server; this is the origin it was published from)
- URL: `https://aiapi-pro.com/api/referral/code`
- Auth: HTTP bearer

Get user's referral code (create if not exists).

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/aiapi-pro/apis/novai-api-platform.md) · [All operations](https://skmtc.dev/aiapi-pro/apis/novai-api-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/aiapi-pro/apis/novai-api-platform/revisions/8aac487185cb?raw)
