Incentivio Segment Controller API

The segment-controller API from Incentivio — 5 operation(s) for segment-controller.

Operations 8

GET /incentivio-auto-tagger-service/segments/{segmentId} #
PUT /incentivio-auto-tagger-service/segments/{segmentId} #
DELETE /incentivio-auto-tagger-service/segments/{segmentId} #
PUT /incentivio-auto-tagger-service/segments/{segmentId}/deactivate #
GET /incentivio-auto-tagger-service/segments #
POST /incentivio-auto-tagger-service/segments #
GET /incentivio-auto-tagger-service/segments/{segmentid}/reactivate #
GET /segments/segments-by-customer #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/incentivio-segment-controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

incentivio-segment-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Incentivio Segment Controller API
  version: v0
  description: 'Operations tagged segment-controller across 2 of this provider''s published API definitions: incentivio-admin-api-openapi.yml, incentivio-mobile-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://adminapi.incentivio.com/incentivio-admin-api
  description: Generated server url
- url: https://mobile.incentivio.com/incentivio-mobile-api
  description: Generated server url
tags:
- name: segment-controller
paths:
  /incentivio-auto-tagger-service/segments/{segmentId}:
    get:
      tags:
      - segment-controller
      operationId: findSegment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SegmentResponseDTO'
    put:
      tags:
      - segment-controller
      operationId: updateSegment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentRequestDTO'
        required: true
      responses:
        '200':
          description: OK
    delete:
      tags:
      - segment-controller
      operationId: deleteSegment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
    servers:
    - url: https://adminapi.incentivio.com/incentivio-admin-api
      description: Generated server url
  /incentivio-auto-tagger-service/segments/{segmentId}/deactivate:
    put:
      tags:
      - segment-controller
      operationId: deactivateSegment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
    servers:
    - url: https://adminapi.incentivio.com/incentivio-admin-api
      description: Generated server url
  /incentivio-auto-tagger-service/segments:
    get:
      tags:
      - segment-controller
      operationId: findAllSegments
      parameters:
      - name: page
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: count
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: sortBy
        in: query
        required: false
        schema:
          type: string
          default: segmentName
      - name: sortDirection
        in: query
        required: false
        schema:
          type: string
          default: ASC
      - name: title
        in: query
        required: false
        schema:
          type: string
      - name: expired
        in: query
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/FindSegmentsResponseDTO'
    post:
      tags:
      - segment-controller
      operationId: createSegment
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentRequestDTO'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CreateSegmentResponseDTO'
    servers:
    - url: https://adminapi.incentivio.com/incentivio-admin-api
      description: Generated server url
  /incentivio-auto-tagger-service/segments/{segmentid}/reactivate:
    get:
      tags:
      - segment-controller
      operationId: reactivateSegment
      parameters:
      - name: segmentid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
    servers:
    - url: https://adminapi.incentivio.com/incentivio-admin-api
      description: Generated server url
  /segments/segments-by-customer:
    get:
      tags:
      - segment-controller
      operationId: findSegmentsByCustomer
      parameters:
      - name: page
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: count
        in: query
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/FindCustomerSegmentsResponseDTO'
    servers:
    - url: https://mobile.incentivio.com/incentivio-mobile-api
      description: Generated server url
components:
  schemas:
    SegmentResponseDTO:
      type: object
      properties:
        segmentId:
          type: string
        clientId:
          type: string
        merchantId:
          type: string
        merchantName:
          type: string
        segmentName:
          type: string
        segmentDescription:
          type: string
        segmentTag:
          type: string
        segmentType:
          $ref: '#/components/schemas/SegmentTypeEnum'
        segmentIcon:
          type: string
        visibleToCustomer:
          type: boolean
        segmentRules:
          $ref: '#/components/schemas/RuleDescriptor'
        adminId:
          type: string
        adminEmail:
          type: string
        startDate:
          type: string
          format: date-time
        createdDate:
          type: string
          format: date-time
        updateDate:
          type: string
          format: date-time
        lastProcessedDate:
          type: string
          format: date-time
        expiredStatus:
          type: boolean
        displaySegmentStatus:
          type: string
        deletedStatus:
          type: boolean
        segmentDistribution:
          type: string
        customerCount:
          type: integer
          format: int32
        calculationInProgressStatus:
          type: boolean
    RelationalOperatorEnum:
      type: string
      enum:
      - EQ
      - LT
      - GT
      - LT_EQ
      - GT_EQ
      - NOT
      - WITHIN
      - NOTEXISTS
    SubCategoryEnum:
      type: string
      enum:
      - LIFETIME
      - LAST_NO_OF_DAYS
      - NO_OF_ORDERS
    SegmentTypeEnum:
      type: string
      enum:
      - LOYALTY
      - NORMAL
    OperatorEnum:
      type: string
      enum:
      - EQ
      - LT
      - GT
      - LT_EQ
      - GT_EQ
      - NOT
      - WITHIN
      - NOTEXISTS
    ProductDTO:
      type: object
      properties:
        type:
          type: string
        id:
          type: string
        externalId:
          type: string
        displayInfoTitlesList:
          type: array
          items:
            type: string
    DaysOfWeekEnum:
      type: string
      enum:
      - MONDAY
      - TUESDAY
      - WEDNESDAY
      - THURSDAY
      - FRIDAY
      - SATURDAY
      - SUNDAY
    RuleTypeEnum:
      type: string
      enum:
      - EXPRESSION
      - LOGIC
    ResultsPagingDTO:
      type: object
      properties:
        total:
          type: integer
          format: int64
        count:
          type: integer
          format: int32
        totalPages:
          type: integer
          format: int64
        currentPage:
          type: integer
          format: int32
    CreateSegmentResponseDTO:
      type: object
      properties:
        segmentId:
          type: string
        segmentName:
          type: string
    RuleDescriptor:
      type: object
      properties:
        ruleType:
          $ref: '#/components/schemas/RuleTypeEnum'
        operator:
          $ref: '#/components/schemas/OperatorEnum'
        expressionValue:
          type: string
        expressionValueNew:
          $ref: '#/components/schemas/ExpressionValueNew'
        expressionName:
          type: string
        expressoinFormat:
          type: string
        extendedAttributes:
          type: object
          additionalProperties:
            type: string
        logicType:
          $ref: '#/components/schemas/LogicTypeEnum'
        childNodes:
          type: array
          items:
            $ref: '#/components/schemas/RuleDescriptor'
    SegmentRequestDTO:
      type: object
      properties:
        segmentName:
          type: string
        segmentDescription:
          type: string
        segmentType:
          $ref: '#/components/schemas/SegmentTypeEnum'
        segmentTag:
          type: string
        segmentIcon:
          type: string
        visibleToCustomer:
          type: boolean
        languageCode:
          type: string
        segmentRules:
          $ref: '#/components/schemas/RuleDescriptor'
        adminId:
          type: string
        adminEmail:
          type: string
        startDate:
          type: string
          format: date-time
        createdDate:
          type: string
          format: date-time
        updateDate:
          type: string
          format: date-time
        lastProcessedDate:
          type: string
          format: date-time
        timeZone:
          type: string
        expiredStatus:
          type: boolean
        deletedStatus:
          type: boolean
        segmentDistribution:
          type: string
        advancedSettings:
          type: object
          additionalProperties: {}
      required:
      - adminEmail
      - adminId
      - segmentName
      - segmentRules
      - segmentType
      - startDate
      - timeZone
    ExpressionValueNew:
      type: object
      properties:
        attributeName:
          type: string
        attributeTitle:
          type: string
        attributeValues: {}
        dataType:
          type: string
        productList:
          type: array
          items:
            $ref: '#/components/schemas/ProductDTO'
          uniqueItems: true
        subCategory:
          $ref: '#/components/schemas/SubCategoryEnum'
        relationalOperator:
          $ref: '#/components/schemas/RelationalOperatorEnum'
        quantity:
          type: string
        noOfDays:
          type: integer
          format: int32
        noOfOrders:
          type: integer
          format: int32
        startTime:
          type: string
        endTime:
          type: string
        daysOfWeek:
          type: array
          items:
            $ref: '#/components/schemas/DaysOfWeekEnum'
    LogicTypeEnum:
      type: string
      enum:
      - AND
      - OR
      - NOT
    FindSegmentsResponseDTO:
      type: object
      properties:
        paging:
          $ref: '#/components/schemas/ResultsPagingDTO'
        segments:
          type: array
          items:
            $ref: '#/components/schemas/SegmentResponseDTO'
    SegmentLightResponseDTO:
      type: object
      properties:
        segmentId:
          type: string
        segmentName:
          type: string
        segmentDescription:
          type: string
        segmentIcon:
          type: string
        segmentRules:
          $ref: '#/components/schemas/RuleDescriptor_2'
        deletedStatus:
          type: boolean
    LocalTime:
      type: object
      properties:
        hour:
          type: integer
          format: int32
        minute:
          type: integer
          format: int32
        second:
          type: integer
          format: int32
        nano:
          type: integer
          format: int32
    FindCustomerSegmentsResponseDTO:
      type: object
      properties:
        clientId:
          type: string
        customerId:
          type: string
        paging:
          $ref: '#/components/schemas/ResultsPagingDTO'
        segments:
          type: array
          items:
            $ref: '#/components/schemas/SegmentLightResponseDTO'
    RuleDescriptor_2:
      type: object
      properties:
        ruleType:
          type: string
          enum:
          - EXPRESSION
          - LOGIC
        operator:
          type: string
          enum:
          - EQ
          - LT
          - GT
          - LT_EQ
          - GT_EQ
          - NOT
          - WITHIN
          - NOTEXISTS
        expressionValue:
          type: string
        expressionValueNew:
          $ref: '#/components/schemas/ExpressionValueNew_2'
        expressionName:
          type: string
        expressoinFormat:
          type: string
        extendedAttributes:
          type: object
          additionalProperties:
            type: string
        logicType:
          type: string
          enum:
          - AND
          - OR
          - NOT
        childNodes:
          type: array
          items:
            $ref: '#/components/schemas/RuleDescriptor_2'
    ExpressionValueNew_2:
      type: object
      properties:
        attributeName:
          type: string
        attributeTitle:
          type: string
        attributeValues:
          type: object
        dataType:
          type: string
        productList:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/ProductDTO'
        subCategory:
          type: string
          enum:
          - LIFETIME
          - LAST_NO_OF_DAYS
          - NO_OF_ORDERS
        relationalOperator:
          type: string
          enum:
          - EQ
          - LT
          - GT
          - LT_EQ
          - GT_EQ
          - NOT
          - WITHIN
          - NOTEXISTS
        quantity:
          type: string
        noOfDays:
          type: integer
          format: int32
        noOfOrders:
          type: integer
          format: int32
        startTime:
          $ref: '#/components/schemas/LocalTime'
        endTime:
          $ref: '#/components/schemas/LocalTime'
        daysOfWeek:
          type: array
          items:
            type: string
            enum:
            - MONDAY
            - TUESDAY
            - WEDNESDAY
            - THURSDAY
            - FRIDAY
            - SATURDAY
            - SUNDAY
x-refined-from:
- incentivio-admin-api-openapi.yml
- incentivio-mobile-api-openapi.yml