List All Segments
Returns a paginated list of segments.
campaignId to get the segments of one campaign, and use filter for a free-text search.
Authorizations
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Path Parameters
The optional campaign ID to filter segments.
Query Parameters
A free-text search term. Only segments whose name, code, or description match the term are returned.
The number of records to skip before the first record returned. Use it with take to page through the results.
The maximum number of records to return in this page of results.
The field to sort the results by (case-insensitive).
The direction to sort the results. Set to true to sort in descending order.
When true, includes the related records for each item in the response. Not every list has extra records to return, and it can slow down large result sets.