Get information about all available segments for a specific list.
Query parameters
fields list of strings Optional
A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields list of strings Optional
A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
count integer Optional <=1000Defaults to 10
The number of records to return. Default value is 10. Maximum value is 1000
offset integer Optional Defaults to 0
Used for pagination , this is the number of records from a collection to skip. Default value is 0.
type string Optional
Limit results based on segment type.
since_created_at string Optional
Restrict results to segments created after the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.
before_created_at string Optional
Restrict results to segments created before the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.
include_cleaned boolean Optional
Include cleaned members in response
include_transactional boolean Optional
Include transactional members in response
include_unsubscribed boolean Optional
Include unsubscribed members in response
since_updated_at string Optional
Restrict results to segments update after the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.
before_updated_at string Optional
Restrict results to segments update before the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.
exclude_type enum Optional
Exclude results based on segment type. For example, use exclude_type=static to exclude tags from the response.
Allowed values: saved static fuzzy
Response This endpoint returns an object.
_links list of objects Optional Read-only
A list of link types and descriptions for the API schema documents.
list_id string Optional Read-only
The list id.
segments list of objects Optional
An array of objects, each representing a list segment.
total_items integer Optional Read-only
The total number of items matching the query regardless of pagination.