List Contact's Segments

Returns all segments of which the specified contact is a member.

Path Parameters
idstringrequired
The dsid of the contact.
HTTP Response Examples
200
{ "Status": true, "Message": "", "Response": { "segments": [ { "id": 136, "name": "Sample segment", "is_dynamic": true, "segment_type": 1 } ] } }
HTTP Response Parameters
segmentsarray
Array of segments the contact belongs to. Each item has id, name, is_dynamic (true for Dynamic and Synced segments), and segment_type (numeric enum).