Segment
Fetch Segment
Changed onFetch a named contact audience. Requires contacts:read.
get/segments/{id}
Request
- Base URLhttps://myworkspace.myclickfunnels.com/api/v2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://accounts.myclickfunnels.com/oauth/authorizeToken URLhttps://accounts.myclickfunnels.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Query parameters
Return matching contacts inline; omit for the audience definition alone. Requires contacts:read. Count is opt-in.
Response
Success
Example response
{
"id": 5,
"public_id": "QrStUv",
"workspace_id": 42,
"name": "VIP buyers",
"filter": {
"id": 901,
"public_id": "XyZaBc",
"workspace_id": 42,
"name": null,
"filter_class": "ContactsSegmentsFilter",
"conjunction": "and",
"criteria": [
{
"attribute": "tags.id",
"clause": "in",
"value": [
"tag-pub-id-1"
]
}
],
"mixed_conjunctions": false,
"created_at": "2026-10-13T09:00:00.000Z",
"updated_at": "2026-10-13T09:00:00.000Z"
},
"created_at": "2026-10-13T09:00:00.000Z",
"updated_at": "2026-10-13T09:00:00.000Z"
}Changes
- info
endpoint added
- info