Get Segments in Marketing Cloud Growth
Retrieve a list of segments using the Data Cloud Segments endpoint in Connect API.
Before you send a request to Connect API, obtain a bearer token. For more information, see Connect to REST-based APIs.
To retrieve a list of segments, send a GET request to the /services/data/v61.0/ssot/segments
endpoint. For additional information and code examples, see getSegments.
If the request is successful, the response body contains a list of segments in your org.