---
title: "Validate Referral Code"
method: GET
path: "/referral/validate/{code}"
tags: ["referral"]
---

# Validate Referral Code

`GET /referral/validate/{code}`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/referral/validate/{code}`
- Auth: none declared

Validate a referral code (public endpoint, used during signup).

Returns whether the code is valid and the referrer's display name.
Also checks if the referrer has hit any limits.

## Path parameters

- `code` string, required

## Response `200`

Successful Response

- ValidateReferralCodeResponse: Response for referral code validation.
  - `valid` boolean, required
  - `referrer_name` string, nullable
  - `reward_amount` integer, nullable
  - `message` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/meganova/apis/meganova-api.md) - [All operations](https://skmtc.dev/meganova/apis/meganova-api/llms.txt) - [OpenAPI document](https://skmtc.dev/meganova/apis/meganova-api/revisions/c683584f6060?raw)
