---
title: "List Promo Codes"
method: GET
path: "/api/v1/admin/promo/codes"
tags: ["Admin - Promo Codes", "Admin - Promo Codes"]
---

# List Promo Codes

`GET /api/v1/admin/promo/codes`

## Request

- Base URL: `https://api.gemstoneaiapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gemstoneaiapp.com/api/v1/admin/promo/codes`
- Auth: none declared

List codes, newest first — use this to see what has been claimed.

## Query parameters

- `campaign` string, nullable
- `active_only` boolean
- `unredeemed_only` boolean
- `limit` integer

## Headers

- `x-admin-key` string, nullable

## Response `200`

Successful Response

- PromoCodeResponse[]
  - `id` integer, required
  - `code` string, required
  - `campaign` string, nullable
  - `note` string, nullable
  - `premium_days` integer, nullable
  - `bonus_scans` integer, required
  - `max_redemptions` integer, required
  - `redemption_count` integer, required
  - `restricted_email` string, nullable
  - `expires_at` string, date-time, nullable
  - `is_active` boolean, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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