Get all segments
Get information about segments as a list of all segments.
Query parameters
The number of records to return in API response.
⚠️ We recommended adjust the batch size based on processing time. Depending on the response time of the request. Default value of 100 records is used if count parameter is not set.
The number of records from a collection to skip. Default value of 0 is used when parameter offset is not set.
Name of the sorting parameter. You can sort by any of the first level parameters from the resource response. Response is sorted by the specified field.
Direction of sorting the response list.
List of the segment group IDs from the resource GET /segment-groups. In case you want to filter multiple options use array syntax : segment_group_ids[]=8bed991c68a470e7aaeffbf048&segment_group_ids[]=9cfe0a2d79b581f8bb5ffc059 Logic OR is used between values.
Headers
The unique ID of the language code by ISO 639-1.
Response
OK
Example response
{
"data": {
"segments": [
{
"segment_id": "82de12eb8b138791e678fd11c3",
"name": "VIP customers",
"segment_group_id": "8bed991c68a470e7aaeffbf048",
"note": "VIP customers note test",
"last_change": "2021-06-04 13:25:39"
}
],
"total_items": 1
}
}