Skip to main content
POST
/
v1
/
campaigns
/
{campaignId}
/
enable
Enable Campaign
curl --request POST \
  --url https://{cluster}.voucherify.io/v1/campaigns/{campaignId}/enable \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
{}

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required
Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

campaignId
string
required

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. Schema model for an empty json.

I