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
  • 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
Login
  1. Segments

Create segment

POST
/segments
Creates a new segment (audience). Seeds a default view template and default workflow
(unless product-specific flags apply).
Typical product create payload:
name (required for useful audiences)
folderIds — optional folder membership
segmentSources — array of source ids to attach (e.g. LinkedIn social-listening sources)
workflowTasksModuleName / workflowTaskTemplatesToEnable — optional workflow seeding
description, conditions, config, columnInfo, pullContactsInterval — optional

Request

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

Examples

Responses

🟢200
application/json
Created segment (JSON:API)
Bodyapplication/json

🟠400
🟠401
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --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"
    ]
}'
Response Response Example
200 - Success
{
    "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"
        }
    }
}
Modified at 2026-08-06 14:14:15
Previous
Type-ahead search for segments
Next
Get segment by ID
Built with