---
title: "Prize Codes"
method: POST
path: "/campaigns/{campaignId}/prizes/{prizeId}/prize-codes"
---

# Prize Codes

`POST /campaigns/{campaignId}/prizes/{prizeId}/prize-codes`

This endpoint allows you to add a batch of unique prize codes to a specific prize within a campaign. This is useful for uploading voucher codes, gift card numbers, or any other unique codes you want to distribute as prizes.

## Path parameters

- `campaignId` integer, required
- `prizeId` string, required

## Request body

- object
  - `codes` string[], required — An array of strings, where each string is a unique prize code to be added.

## Response `204`

204

- object

## Other responses

- `400` — 400

---

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