---
title: "/referrals/code"
method: POST
path: "/referrals/code"
---

# /referrals/code

`POST /referrals/code`

## Request

- The document declares no server URL.
- Auth: none declared

## Response `200`

Successful response

- object

## Other responses

- `422`: Validation failed
- `500`: Server error

## Changes

> 67 revisions in range; 2 not diffed.

- **2026-09-09** `3e2bbc58db47`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/stacksjs/apis/stacks-api/changes/referrals/code/post.md)

---

[API](https://skmtc.dev/stacksjs/apis/stacks-api.md) - [All operations](https://skmtc.dev/stacksjs/apis/stacks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stacksjs/apis/stacks-api/revisions/3da03a6ca767?raw)
