Skip to main content

List Segments In Environment

Retrieves the Segments given an environment.

Parameters

ParameterDescription
EnvironmentThe id or case sensitive name of the environment in which you want get the segments.
WorkspaceThe id of the workspace from which you want a list of segments.

Example Output

{
"objects": [
{
"name": "SEGMENT_1",
"description": "",
"trafficType": {
"id": "...",
"name": "user"
},
"creationTime": 1527012776469,
"tags": null
}
],
"offset": 0,
"limit": 20,
"totalCount": 1
}

Workflow Library Example

List Segments in Environment with Split and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop