---
title: "Get invite codes"
method: GET
path: "/v1/invite/codes/{account}"
tags: ["Invite"]
---

# Get invite codes

`GET /v1/invite/codes/{account}`

## Request

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

Get paginated invite codes owned by an account. Requires JWT; account must match the caller's own address.

## Path parameters

- `account` string, required

## Query parameters

- `limit` integer
- `page` integer
- `status` string
- `sort_direction` 'DESC' | 'ASC'
- `code` string

## Response `200`

A successful response.

- ApiGetInviteCodesResponse
  - `codes` ApiInviteCodeInfo[]
    - `id` string, int64
    - `code` string
    - `status` string
    - `source` string
    - `redeemed_by` string
    - `redeemed_at` string, int64
    - `created_at` string, int64
  - `total` integer

## 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/codes/:account/get.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)
