Get all segments for a specific contact.
curl --request GET \
--url https://api.useinvent.com/orgs/{org_id}/contacts/{contact_id}/segments \
--header 'Authorization: Bearer <token>'[
{
"id": "<string>",
"name": "<string>",
"color": "red",
"contacts_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]Bearer token authentication using your API key
Page number
Number of items to take
Next page token (Only used on special endpoints)
The name of the color to use in the UI
red, orange, amber, yellow, lime, green, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose, neutral Was this page helpful?
curl --request GET \
--url https://api.useinvent.com/orgs/{org_id}/contacts/{contact_id}/segments \
--header 'Authorization: Bearer <token>'[
{
"id": "<string>",
"name": "<string>",
"color": "red",
"contacts_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]