---
title: "Apply Referral Code"
method: POST
path: "/api/referral/apply"
---

# Apply Referral Code

`POST /api/referral/apply`

Apply a referral/invite code to the current user.

## Request body

- ApplyReferralRequest — Request schema for applying a referral/invite code
  - `code` string, required

## Response `200`

Successful Response

- ApplyReferralResponse — Response schema for referral code application
  - `success` boolean
  - `applied` boolean, required
  - `alreadyReferred` boolean
  - `message` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/latted/apis/motion-graphics-designer-api.md) · [All operations](https://skmtc.dev/latted/apis/motion-graphics-designer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latted/motion-graphics-designer-api/revisions/36d149b525df/schema)
