v2
latestOpenAPI 3.0.02026-08-073221853.1 MBSegments
Get Segment
get/console/v1/segments/{id}
Path parameters
idstring required
id
Response
Get Segment Success
Example response
{
"id_list": {
"message": "Segment read successfully.",
"data": {
"id": "an_id_list",
"isEnabled": true,
"description": "helpful summary of what this segment is",
"lastModifierName": "CONSOLE API",
"lastModifierID": "ahKwUoaNauHu9AmJPc2",
"type": "id_list",
"count": 0,
"tags": [
"a tag"
]
}
},
"rule_based": {
"message": "Segment read successfully.",
"data": {
"id": "a_rule_based_segment",
"isEnabled": true,
"description": "helpful summary of what this segment is",
"lastModifierName": "CONSOLE API",
"lastModifierID": "ahKwUoaNauHu9AmJPc2",
"type": "rule_based",
"count": 0,
"rules": {
"name": "All Conditions",
"passPercentage": 10,
"conditions": [
{
"type": "public",
"operator": "string",
"targetValue": 0,
"field": "string",
"customID": "string"
}
],
"returnValue": {
"key": true
}
},
"tags": [
"a tag"
]
}
}
}