provider ContactsSegments GET /contacts/{contact_id}/segments
@utdk/intercom /contacts/{contact_id}/segments
List attached segments for contact
You can fetch a list of segments that are associated to a contact.
contact_id path required
The unique identifier for the contact which is given by Intercom
string
Intercom-Version header
enum: 1.0, 1.1, 1.2, 1.3…

Try it

Authentication
Configure credentials for Intercom API
listsegmentsforacontact
GET/contacts/{contact_id}/segments
You can fetch a list of segments that are associated to a contact.

Parameters

required

The unique identifier for the contact which is given by Intercom

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import intercom from '@utdk/intercom';

await intercom.listsegmentsforacontact({
  "Intercom-Version": "2.14"
})