Skip to main content
Version: 5.7.0

GetMySegmentsLegacy

Returns the segments for the current user - in legacy format (i.e. using the existing, numeric segment ids). Available via cloud-code only.

ServiceOperation
segmentGET_MY_SEGMENTS_LEGACY

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"segments": [
{
"segmentId": 1,
"name": "segmentname"
},
{
"segmentId": 2,
"name": "another segment"
}
]
},
"status": 200
}