How to Find the Segment ID
The Segment ID is a unique, system-generated identifier for every Segment in your Engagement Data Platform account. This value is not displayed within the application user interface anywhere, so to get the Segment ID for a Segment, you must retrieve it by means of the EDP Services API endpoint.
To retrieve the Segment ID for a Segment:
-
Submit a request to the EDP Services API endpoint using the method that allows you to retrieve information on all Segments.
-
Within the API response message, the system provides the Segment ID for each Segment.
Sample Response:
{
"name": "ta_segment",
"description": "",
"id": 3,
"label": "TA Segment",
"filter": "",
"is_static": true,
"members_included": [],
"sql_query": "SELECT DISTINCT(MEMBERS.MEMBER_ID) FROM na394.member AS MEMBERS WHERE COALESCE(deactivated, false) = false AND MEMBERS.EMAIL = 'thomas.anderson@cheetahdigital.com'",
"evaluation_path": {},
"execution_type": "hive",
"conditions": [],
"members_excluded": [],
"created_at": "2020-07-03T04:51:04Z",
"updated_at": "2020-10-17T00:24:35Z",
"published_at": "2020-07-03T04:51:39Z"
}