---
title: "Set Custom Code"
method: PUT
path: "/api/referral/code/custom"
tags: ["referral"]
---

# Set Custom Code

`PUT /api/referral/code/custom`

## Request

- Base URL: `https://aiapi-pro.com` (the document declares no server; this is the origin it was published from)
- URL: `https://aiapi-pro.com/api/referral/code/custom`
- Auth: HTTP bearer

Set a custom referral code.

## Query parameters

- `custom_code` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aiapi-pro/apis/novai-api-platform.md) · [All operations](https://skmtc.dev/aiapi-pro/apis/novai-api-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/aiapi-pro/apis/novai-api-platform/revisions/8aac487185cb?raw)
