GET
/contacts/{contact_id}/segmentsList segments for a contact
Lists the segments associated with a contact. Use the contact_id path parameter to identify the contact whose segment associations you want to retrieve.
contact_idstringrequired
The unique identifier of the contact whose segments to retrieve.
Intercom-Versionstringoptional
The Intercom API version to use; the listed values include 1.0 through 2.6. Defaults to 2.17 when omitted.
200Returns a list of segment objects associated with the contact.
typestringoptional
The type of the object
dataarray<Segment>optional
Segment objects associated with the contact.
401Returned when the request is unauthorized.
One documented failure
unauthorizedAccess Token Invalid
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
404Returned when the contact is not found.
One documented failure
not_foundUser Not Found
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
Error handling
A 401 is returned when the request is unauthorized. A 404 is returned when the contact identified by the contact_id path parameter is not found. The Intercom-Version header defaults to 2.17 when omitted.