---
title: "Validate Referral Code"
method: POST
path: "/api/v1/referrals/validate"
tags: ["referrals"]
---

# Validate Referral Code

`POST /api/v1/referrals/validate`

## Request

- Base URL: `https://api.slidemaster.tw` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slidemaster.tw/api/v1/referrals/validate`
- Auth: none declared

## Headers

- `Authorization` string, nullable

## Request body

- ValidateReferralRequest
  - `code` string, required
  - `plan_type` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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