Create a new segment
Create a new segment with given parameters
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Conditions according to which Kameleoon segments visitors
Name of the segment
"My segment"
Segment type refers to the classification of segments based on their usage.
STANDARD, KEY_MOMENT, FEATURE_FLAG, ALL Site ID of the project where the user creates the segment
8372
Specifies whether the segment is tracking an audience.
Conditions by which Kameleoon segments visitors in list form
A tree of conditions for segmenting visitors. Each node is either a ConditionsDataLevel, which combines child conditions with a logical operator (AND or OR), or a TargetingCondition, which represents a single condition.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
- Option 15
- Option 16
- Option 17
- Option 18
- Option 19
- Option 20
- Option 21
- Option 22
- Option 23
- Option 24
- Option 25
- Option 26
- Option 27
- Option 28
- Option 29
- Option 30
- Option 31
- Option 32
- Option 33
- Option 34
- Option 35
- Option 36
- Option 37
- Option 38
- Option 39
- Option 40
- Option 41
- Option 42
- Option 43
- Option 44
- Option 45
- Option 46
- Option 47
- Option 48
- Option 49
- Option 50
- Option 51
- Option 52
- Option 53
- Option 54
- Option 55
- Option 56
- Option 57
- Option 58
- Option 59
- Option 60
- Option 61
- Option 62
Description of the segment
"The segment is for new ab tests"
Indicates whether a user marked the segment as a favorite.
Indicates whether a user has marked the segment as hidden from the user
Response
Created
Conditions according to which Kameleoon segments visitors
Name of the segment
"My segment"
Segment type refers to the classification of segments based on their usage.
STANDARD, KEY_MOMENT, FEATURE_FLAG, ALL Site ID of the project where the user creates the segment
8372
Specifies whether the segment is tracking an audience.
This flag shows if a user can enable/disable audienceTracking. In some cases, users cannot disable audienceTracking. For example, Kameleoon tracks segments with predictive conditions by default.
Campaign type derived from segment type.
ALL, FEATURE, WEB Conditions by which Kameleoon segments visitors in list form
A tree of conditions for segmenting visitors. Each node is either a ConditionsDataLevel, which combines child conditions with a logical operator (AND or OR), or a TargetingCondition, which represents a single condition.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
- Option 15
- Option 16
- Option 17
- Option 18
- Option 19
- Option 20
- Option 21
- Option 22
- Option 23
- Option 24
- Option 25
- Option 26
- Option 27
- Option 28
- Option 29
- Option 30
- Option 31
- Option 32
- Option 33
- Option 34
- Option 35
- Option 36
- Option 37
- Option 38
- Option 39
- Option 40
- Option 41
- Option 42
- Option 43
- Option 44
- Option 45
- Option 46
- Option 47
- Option 48
- Option 49
- Option 50
- Option 51
- Option 52
- Option 53
- Option 54
- Option 55
- Option 56
- Option 57
- Option 58
- Option 59
- Option 60
- Option 61
- Option 62
Account ID of the creator of the segment
Date of segment creation
Date of segment modification
Description of the segment
"The segment is for new ab tests"
Number of experiments using this segment. This is an optional field that the request body includes
List of experiment IDs using this segment. This is an optional field that the request body includes
Number of feature flags that this goal uses. This is an optional field that the request must specify in request params.
Indicates if the segment has conditions
Unique ID of the segment
Indicates whether a user marked the segment as a favorite.
List of links to related entities. This is an optional field that the request body includes.
Number of personalizations using this segment. This is an optional field that the request body includes
List of personalization IDs using this segment. This is an optional field that the request body includes
Indicates whether a user has marked the segment as hidden from the user