subscriptionSegments
List subscription segments synchronized for the current project. For Customer Portal Liquid conditions, use enabled Klaviyo segment names or external IDs with subscription.segments.
Arguments
Argument
Description
source (SubscriptionSegmentSourceEnum)
Only list segments synchronized from this source.
enabled (Boolean)
Only list segments with this synchronization state.
after (String)
Returns the elements in the list that come after the specified cursor.
before (String)
Returns the elements in the list that come before the specified cursor.
first (Int)
Returns the first n elements from the list.
last (Int)
Returns the last n elements from the list.
Last updated
Was this helpful?