post https://app.vwo.com/api/v2/accounts//campaigns
Request URI for Sub Account
POST /accounts/40505/campaigns
Request Format
POST /accounts/40505/campaigns
Create a campaign
Warning
Note:
If stats are not provided, default value for stats (same as given in this request) are used for the campaign created.
Warning
Note:
For split campaign creation, two or more variations must be present in the request with urls for which the split campaign needs to be run.
Warning
Note:
The "globalCode" section allows you to add Pre/Post-Campaign JS/CSS snippets within the editor. This globalCode block is optional and can be omitted if not needed.