---
title: "Redeem referral link"
method: POST
path: "/v1/invite/referral-link/{slug}/redeem"
tags: ["Invite"]
---

# Redeem referral link

`POST /v1/invite/referral-link/{slug}/redeem`

## Request

- Base URL: `https://api.testnet.rise.trade`
- URL: `https://api.testnet.rise.trade/v1/invite/referral-link/{slug}/redeem`
- Auth: none required
- TypeScript: <https://skmtc.dev/rise/apis/risex-rest-api/docs/v1/invite/referral-link/:slug/redeem/post.ts> (a function with typed inputs; its response is checked against the schema)

Redeem a referral link. The `signature` field must be an EIP-191 personal_sign over the message: "This signature verifies that I own the associated account and intend on redeeming referral link {slug} to access RISEx" where {slug} is the link slug exactly as it appears in the URL. Errors: InvalidArgument for self-redemption or bad signature, AlreadyExists if the visitor already has access, NotFound if the slug does not exist.

## Path parameters

- `slug` string, required

## Request body

- InviteServiceRedeemReferralLinkBody
  - `address` string: Visitor wallet address.
  - `signature` string: EIP-191 personal_sign signature over the redeem-intent message.

## Response `200`

A successful response.

- ApiRedeemReferralLinkResponse
  - `inviter_address` string: Hex address of the link owner (the new account's invited_by).
  - `code` string: Synthetic attribution identifier recorded for this signup (not a consumable invite code — the owner's pool is never touched). Returned for FE display.
  - `deposit_deadline` string, int64: Visitor's 7-day deposit deadline (unix nanos). After this time without activation, the new account auto-expires and the visitor must redeem again. Matches the direct-code redemption flow.

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-11-03** `98eabcd6a6ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rise/apis/risex-rest-api/changes/v1/invite/referral-link/:slug/redeem/post.md)

---

[API](https://skmtc.dev/rise/apis/risex-rest-api.md) - [All operations](https://skmtc.dev/rise/apis/risex-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rise/apis/risex-rest-api/revisions/98eabcd6a6ad?raw)
