---
title: "Claim Referral Code"
method: POST
path: "/api/referral/claim"
tags: ["Referral"]
---

# Claim Referral Code

`POST /api/referral/claim`

## Request

- Base URL: `https://zsign.io` (the document declares no server; this is the origin it was published from)
- URL: `https://zsign.io/api/referral/claim`
- Auth: HTTP bearer

Attribute the caller's account to a referral code after the fact, for
accounts that signed up before entering one. Fails with 409 if this
account is already attributed to a referrer.

## Request body

- ClaimRequest
  - `code` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zsign/apis/zsign-api.md) · [All operations](https://skmtc.dev/zsign/apis/zsign-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zsign/apis/zsign-api/revisions/a674ac4137ba?raw)
