---
title: "Redeem Invitation Code"
method: POST
path: "/redeem-invitation-code"
tags: ["user"]
---

# Redeem Invitation Code

`POST /redeem-invitation-code`

## Request

- Base URL: `https://api.qfex.com`
- URL: `https://api.qfex.com/redeem-invitation-code`
- Auth: API key in header `x-qfex-hmac-signature` and API key in header `x-qfex-nonce` and API key in header `x-qfex-public-key` and API key in header `x-qfex-timestamp`

Redeem a valid invitation code for the authenticated user, create the referral link, and enable user access.

## Query parameters

- `api_version` string

## Request body

- RedeemInvitationCodeRequestBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `invitation_code` string, required

## Response `200`

OK

- RedeemInvitationCodeResponseBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `invitation_code` string, required
  - `is_redeemed` boolean, required
  - `message` string, required
  - `sharer_user_id` string, uuid, required

## Other responses

- `default`: Error

## Changes

- **2026-11-03** `0c23dfc24573`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/qfex/apis/qfex-rest-api/changes/redeem-invitation-code/post.md)

---

[API](https://skmtc.dev/qfex/apis/qfex-rest-api.md) - [All operations](https://skmtc.dev/qfex/apis/qfex-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qfex/apis/qfex-rest-api/revisions/0c23dfc24573?raw)
