Menu
List Segments For A Contact
List attached segments for contact
GET
/contacts/{contact_id}/segmentsUse it in a workflow
- Add a step and choose the Intercom connector.
- Pick the List Segments For A Contact action (under Contacts).
- Fill in the fields below, then reference the result from later steps as
{{listSegmentsForAContact.response.data}}.
Request
Path parameters
Headers
Response
Returns 200 with an object. Read it in later steps with {{listSegmentsForAContact.response.data.<field>}}.
{
"type": "list",
"data": [
{
"type": "segment",
"id": "56203d253cba154d39010062",
"name": "Active",
"created_at": 1394621988,
"updated_at": 1394622004,
"person_type": "contact",
"count": 3
}
]
}
Need more? See the Intercom guide for connection setup and behaviour shared by every action.
Was this page helpful?