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

# Prize Codes

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

## Request

- Base URL: `https://gamify-api-us.optimove.net/adact`
- URL: `https://gamify-api-us.optimove.net/adact/campaigns/{campaignId}/prizes/{prizeId}/prize-codes`
- Auth: none required

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.dev/optimove/apis/gamify.md) - [All operations](https://skmtc.dev/optimove/apis/gamify/llms.txt) - [OpenAPI document](https://skmtc.dev/optimove/apis/gamify/revisions/a73b512db403?raw)
