1. Segments
Highperformr API
  • Introduction
  • Contacts
    • Unified Data API - async contact enrichment
      POST
    • Bulk fetch contacts by IDs
      POST
    • Get contacts by segment
      POST
    • Get contact by ID
      GET
    • Update contact
      PATCH
    • Delete contact
      DELETE
    • Upsert contact into a source
      POST
    • Bulk upsert contacts for source
      POST
    • Unique values of one field for a filtered contact set
      POST
  • Schema
    • Get contact schema
      GET
    • Get discovery search contact schema
      GET
    • Get discovery search company schema
      GET
    • Get verified discovery contact filter schema
      GET
    • Get verified discovery company filter schema
      GET
    • Get options for field
      GET
    • Verified discovery autocomplete suggestions
      GET
    • Get discovery search options for field
      GET
    • Verified discovery static option lists
      GET
  • Discovery search
    • Find contacts v2
      POST
    • Find companies v2
      POST
    • Find verified contacts
      POST
    • Find verified companies
      POST
  • Jobs
    • Get job status by id
  • Social publishing
    • Create draft post
    • List posts (drafts, scheduled, published)
    • Schedule or publish posts (bulk)
    • Schedule a LinkedIn comment on an external post
    • Configure cross-account auto-repost
    • Upload media file (multipart)
    • Assemble chunked uploads into one file
    • Import media from a public URL
  • Integrations (social)
    • List social integrations (filter)
  • Segments
    • Type-ahead search for segments
      GET
    • Create segment
      POST
    • Get segment by ID
      GET
    • Update segment
      PATCH
    • Delete segment
      DELETE
    • Clone segment
      POST
    • Filter segments
      POST
  • Sources
    • Bulk upsert sources
    • Bulk fetch sources
    • Bulk update sources
    • Create source
    • Pull contacts from source
    • Get source by ID
    • Update source
  • Credits
    • Get workspace credit balance
    • Get credit usage analytics
  • Templates
    • Filter templates
    • Create template
    • Get template by ID
    • Update template
    • Delete template
  • Outreach
    • List connected LinkedIn sending accounts
    • List LinkedIn outreach campaigns
    • List inbox messages (incremental replies)
Login
  1. Segments

Filter segments

POST
/segments/filter-segments
Search and list segments for the workspace.
Request body fields (from the product UI / controller):
conditions — array of { field, operator, value } applied to segment columns
(e.g. name, folderIds, searchTokens, __name__, isDefault). Not contact filters.
limit — page size
paginationToken — opaque cursor from a previous response meta
orderBy — defaults to createdAt (UI often uses updatedAt)
orderType — defaults to desc
Response is JSON:API-style { data, meta } using the list serializer
(id, name, description, segmentSources, conditions, folderIds, config, timestamps, isDefault).

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
Body Params application/json

Examples

Responses

🟢200
application/json
Filtered segments
Bodyapplication/json

🟠401
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location 'https://app.highperformr.ai/api/segments/filter-segments' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "limit": 25,
    "orderBy": "updatedAt",
    "orderType": "desc"
}'
Response Response Example
200 - Success
{
    "data": [
        {
            "id": "seg_4n2k8j",
            "type": "segments",
            "attributes": {
                "name": "Enterprise prospects",
                "description": "Inbound engagers from LinkedIn social listening",
                "segmentSources": [
                    "src_li_inbound_01"
                ],
                "folderIds": [
                    "folder_abc123"
                ],
                "conditions": [],
                "isDefault": false,
                "createdAt": "2025-04-08T09:01:44.000Z",
                "updatedAt": "2025-04-10T12:00:00.000Z"
            }
        }
    ],
    "meta": {
        "nextToken": "eyJwYWdlIjoyfQ"
    }
}
Modified at 2026-09-24 07:44:15
Previous
Clone segment
Next
Bulk upsert sources
Built with