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

# Create Promo Code

`POST /super-admin/promo-codes`

## Request

- Base URL: `https://app.dataassist.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.dataassist.io/super-admin/promo-codes`
- Auth: none declared

Create a promo code owned by a marketing org. The org must already
be flagged via POST /super-admin/marketer-orgs. Emails active admins
of the marketing org with the code + share URL.

## Request body

- CreatePromoCodeRequest
  - `code` string, required
  - `marketer_org_id` integer, required
  - `org_discount_percent` number, required
  - `marketer_commission_percent` number, required
  - `max_uses` integer, nullable
  - `expires_at` string, date-time, nullable
  - `notes` string, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dataassist/apis/dataassist-io-server.md) · [All operations](https://skmtc.dev/dataassist/apis/dataassist-io-server/llms.txt) · [OpenAPI document](https://skmtc.dev/dataassist/apis/dataassist-io-server/revisions/43b22ccf75fe?raw)
