---
title: "Create promo code (Stripe Only)"
method: POST
path: "/promo_codes"
tags: ["Promo Codes"]
---

# Create promo code (Stripe Only)

`POST /promo_codes`

With this endpoint you can create a new promo code. 
 <Tip>**HTTP Request** <br/>`POST https://api.firstpromoter.com/api/v2/company/promo_codes`</Tip>

## Headers

- `Account-ID` string, required

## Request body

- object
  - `code` string, required — Code of the promo code
  - `description` string — Description of the promo code
  - `reward_id` integer, required — ID of the reward
  - `promoter_campaign_id` integer, required — ID of the promoter campaign
  - `metadata` object — Metadata of the promo code
  - `details` object — Details of the promo code

## Response `200`

Created promo code

- PromoCode
  - `id` integer — ID of the promo code entry
  - `code` string — Code of the promo code
  - `reward` object — Reward
    - `id` integer — ID of the reward
    - `name` string — Name of the reward
  - `ext_id` string
  - `description` string — Description of the promo code
  - `company_id` integer
  - `promoter_campaign_id` integer — ID of the promoter campaign
  - `metadata` object — Metadata of the promo code
  - `details` object — Details of the promo code
  - `archived_at` string, date-time

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/firstpromoter/apis/firstpromoter-batch-processes-api.md) · [All operations](https://skmtc.net/firstpromoter/apis/firstpromoter-batch-processes-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/firstpromoter/firstpromoter-batch-processes-api/revisions/e15f0d026ccf/schema)
