---
title: "Validate Custom Referral Link"
method: POST
path: "/admin/custom-referral-links/validate/{code}"
tags: ["General APIs with JWT"]
---

# Validate Custom Referral Link

`POST /admin/custom-referral-links/validate/{code}`

Validate a custom referral link code (public endpoint for signup flow).

## Path parameters

- `code` string, required

## Response `200`

Successful Response

- ValidateCustomReferralLinkResponse
  - `valid` boolean, required
  - `credit_amount` number, nullable
  - `error_message` string, nullable
  - `decrypted_code` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/lium/apis/lium-backend-api.md) · [All operations](https://skmtc.dev/lium/apis/lium-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lium/lium-backend-api/revisions/57db0a9348db/schema)
