---
title: "Apply a referral code for an existing user (one-time only)"
method: POST
path: "/v1/users/me/referral"
tags: ["user"]
---

# Apply a referral code for an existing user (one-time only)

`POST /v1/users/me/referral`

## Request body

- object
  - `code` string, required

## Response `200`

Successful response

- ApplyReferralOutput
  - `success` boolean, required

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/legend/apis/legend-api.md) · [All operations](https://skmtc.net/legend/apis/legend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/legend/legend-api/revisions/6ac390b7bb0b/schema)
