Enable Campaign
curl --request POST \
--url https://{cluster}.voucherify.io/v1/campaigns/{campaignId}/enable \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{}There are various times when you’ll want to manage a campaign’s accessibility. This can be done by two API methods for managing the campaign state - enable and disable.
Sets campaign state to active. The vouchers in this campaign can be redeemed - only if the redemption occurs after the start date of the campaign and voucher and the voucher and campaign are not expired.
POST
/
v1
/
campaigns
/
{campaignId}
/
enable
Enable Campaign
curl --request POST \
--url https://{cluster}.voucherify.io/v1/campaigns/{campaignId}/enable \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{}Authorizations
X-App-Id & X-App-TokenX-Voucherify-OAuth
Path Parameters
The campaign ID or name of the campaign being enabled. You can either pass the campaign ID, which was assigned by Voucherify or the name of the campaign as the path parameter value.
Example:
"camp_rRsfatlwN7unSeUIJDCYedal"
Response
Returns an empty json {}.
Response body schema for POST v1/campaigns/{campaignId}/enable.
Last modified on April 14, 2026
Was this page helpful?
⌘I

