GET
/contacts/{contact_id}/segmentsList segments for a contact
Lists the segments associated with a contact. Use contact_id to select the contact and after or before to position results relative to a cursor.
contact_idstringrequired
The contact’s ID or email address.
limitintegeroptional
The number of items to return. Must be between 1 and 100.
afterstringoptional
Return items after this cursor.
beforestringoptional
Return items before this cursor.
200Returns segment information for the contact in `data`, along with the response object type and a `has_more` indicator.
objectstringoptional
Type of the response object.
has_morebooleanoptional
Indicates if there are more results available.
dataarray<object>optional
Array containing segment information for this contact.
Error handling
The contact_id path parameter must identify a contact by its ID or email address. limit must be between 1 and 100; use after or before to position results relative to a cursor.