post https://app.vwo.com/api/v2/accounts//campaigns//variations
Request URI for Sub Account
POST /accounts/40505/campaigns/7/variations
Request Format
{
"variations": {
"name": "New shiny variation"
}
}
Create a campaign variation
Note
Info
To add changes to the variation, please add changes under the key 'changes'. For e.g. to show an alert in variation
{ "variations" : { . . "changes" : "<script>alert('Hello World');</script>" . . } }