Segments resource
get
/resources/v1/engage/segments
The Segments resource fetches segments for a given visitor ID, visitor attributes, or
Visitor Services profile name, in the following format. This resource is mainly used by a site developer
to know the segments.
Request
Query Parameters
-
profileName: string
Name of the Visitor Services profile based on which segments are evaluated
-
visitor.{attribute}: string
Name of the visitor attribute on the basis of which the segments are evaluated. You can submit multiple visitor attributes by - visitor.att1="value1"&visitor.attr2="value2".
-
visitorid: number
ID of the site visitor based on which segments are evaluated
Response
200 Response
List of segments.