Admin

Get invite codes

Changed on

List invite codes with optional filtering by account address and status, sorted by created_at

get/admin/invite/codes

Request

Query parameters

addressstring

Filter by owner address (hex with 0x prefix, optional)

statusstring

Filter by status: ACTIVE, REDEEMED, REVOKED (optional)

sort_direction'SORT_DIRECTION_UNSPECIFIED' | 'SORT_DIRECTION_ASC' | 'SORT_DIRECTION_DESC'

Sort direction for created_at: ASC or DESC (default: DESC)

limitinteger

Pagination: items per page (default: 50, max: 200)

pageinteger

Pagination: 1-indexed page number (default: 1)

created_bystring

Filter by admin operator name who created the code (e.g. "Avi", case-insensitive)

codestring

Filter by code value (case-insensitive substring). Optional.

descriptionstring

Filter by description (case-insensitive substring). Optional.

Response

A successful response.

totalinteger

Changes