---
title: "Create Promo Code"
method: POST
path: "/admin/promo-codes"
tags: ["Admin"]
---

# Create Promo Code

`POST /admin/promo-codes`

## Request

- Base URL: `https://api.oxlo.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oxlo.ai/admin/promo-codes`
- Auth: HTTP bearer

Create a new promo code with custom characters. Must start with 'OX' and be ALL CAPS.

## Request body

- CreatePromoCodeRequest
  - `code` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oxlo/apis/oxlo-backend.md) - [All operations](https://skmtc.dev/oxlo/apis/oxlo-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/oxlo/apis/oxlo-backend/revisions/bc2ecdc94f31?raw)
