Vincent is here! Just say the word, and Vincent will build the campaigns for you! Get early access.
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.
curl --request POST \
--url https://{cluster}.voucherify.io/v1/campaigns/{campaignId}/enable \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{}Documentation Index
Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt
Use this file to discover all available pages before exploring further.
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.
"camp_rRsfatlwN7unSeUIJDCYedal"
Returns an empty json {}.
Response body schema for POST v1/campaigns/{campaignId}/enable.
Was this page helpful?