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

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

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

Changes

No recorded changes to this operation across all 1 revision of this API.