---
title: "List My Promo Codes"
method: GET
path: "/api/v1/playbooks/promo-codes"
tags: ["playbook-pricing"]
---

# List My Promo Codes

`GET /api/v1/playbooks/promo-codes`

## Request

- Base URL: `https://api.badgeia.com`
- URL: `https://api.badgeia.com/api/v1/playbooks/promo-codes`
- Auth: none declared

Cross-playbook codes index for the current creator (PRD-008 FR-15).

The per-playbook list at `GET /playbooks/{id}/promo-codes` is fine when
you're already on a playbook's page, but creators with multiple paid
playbooks need a single dashboard. We join PromoCode → Playbook → Agent
→ User and filter by `Agent.user_id == current user`.

Returns each row enriched with `playbook_name` so the UI can render
"LAUNCH20 — Customer support bot" in one column without a second fetch.

## Query parameters

- `include_revoked` boolean

## Response `200`

Successful Response

- OwnedPromoCodeRead[]
  - `id` string, uuid, required
  - `playbook_id` string, uuid, nullable, required
  - `creator_user_id` string, uuid, nullable, required
  - `code` string, required
  - `discount_type` string, required
  - `discount_value` integer, required
  - `max_redemptions` integer, nullable, required
  - `current_redemptions` integer, required
  - `expires_at` string, date-time, nullable, required
  - `min_buyer_account_age_days` integer, required
  - `created_at` string, date-time, required
  - `revoked_at` string, date-time, nullable, required
  - `playbook_name` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/badgeia/apis/badge.md) · [All operations](https://skmtc.dev/badgeia/apis/badge/llms.txt) · [OpenAPI document](https://skmtc.dev/badgeia/apis/badge/revisions/7e7f7fee8b77?raw)
