v1

latestOpenAPI 3.0.12026-07-24210349345.4 KB

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.

post/campaigns/{campaignId}/prizes/{prizeId}/prize-codes

Path parameters

campaignIdinteger required

The ID of the campaign that contains the prize.

prizeIdstring required

The ID of the prize you are adding codes to.

Request body

codesstring[] required

An array of strings, where each string is a unique prize code to be added.

Response

204

object required