name (required for useful audiences)folderIds — optional folder membershipsegmentSources — array of source ids to attach (e.g. LinkedIn social-listening sources)workflowTasksModuleName / workflowTaskTemplatesToEnable — optional workflow seedingdescription, conditions, config, columnInfo, pullContactsInterval — optionalcurl --location 'https://app.highperformr.ai/api/segments' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Acme inbound engagers",
"folderIds": [],
"segmentSources": [
"src_li_inbound_01",
"src_li_inbound_02"
]
}'{
"data": {
"id": "seg_4n2k8j",
"type": "segments",
"attributes": {
"name": "Acme inbound engagers",
"segmentSources": [
"src_li_inbound_01",
"src_li_inbound_02"
],
"folderIds": [],
"isDefault": false,
"createdAt": "2025-04-08T09:01:44.000Z"
}
}
}