CM.com Segments API

The Segments API from CM.com — 4 operation(s) for segments.

GitHub OpenAPI
Business capability
Customer Segmentation Management BC-420.20

Operations 4

GET /profile/v1.0/tenants/{tenantId}/profiletypes/{profileTypeId}/segments Get profile tenants by tenant id profiletypes by profile type id segments #
GET /profile/v1.0/tenants/{tenantId}/profiletypes/{profileTypeId}/segments/{segmentId} Get profile tenants by tenant id profiletypes by profile type id segments by… #
GET /profile/v1.0/tenants/{tenantId}/profiletypes/{profileTypeId}/segments/_count Get profile tenants by tenant id profiletypes by profile type id segments count #
PUT /profile/v1.0/tenants/{tenantId}/profiletypes/{profileTypeId}/segments/{segmentId}/_rename Replace profile tenants by tenant id profiletypes by profile type id segments… #

Documentation

📖
Documentation
https://docs.cm.com/conversational-ai/v1/api-reference
📖
Documentation
https://docs.cm.com/conversational-router/v1/api-reference
📖
Documentation
https://docs.cm.com/conversational-router/v2/api-reference
📖
Documentation
https://docs.cm.com/customer-engagement/v1/api-reference
📖
Documentation
https://docs.cm.com/email-gateway-api/v1/api-reference
📖
Documentation
https://docs.cm.com/halo/analytics/v1/api-reference
📖
Documentation
https://docs.cm.com/halo/core/v1/api-reference
📖
Documentation
https://docs.cm.com/live/entrance-management/v1/api-reference
📖
Documentation
https://docs.cm.com/live/entrance-management/v2/api-reference
📖
Documentation
https://docs.cm.com/live/event-apps/v1/api-reference
📖
Documentation
https://docs.cm.com/live/event-ticketing/v1/api-reference
📖
Documentation
https://docs.cm.com/live/ga-partner/v1/api-reference
📖
Documentation
https://docs.cm.com/live/museum-park-reseller/v1/api-reference
📖
Documentation
https://docs.cm.com/live/museum-park-scan/v1/api-reference
📖
Documentation
https://docs.cm.com/live/tables/v1/api-reference
📖
Documentation
https://docs.cm.com/marketplace/cdp-integration/v1/api-reference
📖
Documentation
https://docs.cm.com/marketplace/cms-integrations/v1/api-reference
📖
Documentation
https://docs.cm.com/marketplace/crm-integrations/v1/api-reference
📖
Documentation
https://docs.cm.com/marketplace/internal-comms-integrations/v1/api-reference
📖
Documentation
https://docs.cm.com/marketplace/live-chat-integrations/v1/api-reference
📖
Documentation
https://docs.cm.com/marketplace/product-feed-integrations/v1/api-reference
📖
Documentation
https://docs.cm.com/messaging/business-messaging/v1/api-reference
📖
Documentation
https://docs.cm.com/messaging/channels-api/v1.2/api-reference
📖
Documentation
https://docs.cm.com/mobile-marketing-cloud/cdp-events/v1/api-reference
📖
Documentation
https://docs.cm.com/mobile-marketing-cloud/cdp-profiles/v1/api-reference
📖
Documentation
https://docs.cm.com/mobile-marketing-cloud/email-campaigns/v1/api-reference
📖
Documentation
https://docs.cm.com/mobile-marketing-cloud/email-validation/v1/api-reference
📖
Documentation
https://docs.cm.com/mobile-marketing-cloud/mmc-campaigns/v1/api-reference
📖
Documentation
https://docs.cm.com/payments/online-payments/v1.27.22/api-reference
📖
Documentation
https://docs.cm.com/payments/pos-cloud-api/v1.9.0/api-reference
📖
Documentation
https://docs.cm.com/sign/v1/api-reference
📖
Documentation
https://docs.cm.com/sign/seal/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/iban-verification/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/id-scan/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/identity-hub/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/idin/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/mobile-identity/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/number-validation/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/otp/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/otp/v2/api-reference
📖
Documentation
https://docs.cm.com/voice/audio-manager/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/cdr/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/company-profiles/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/distribution-groups/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/documents/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/number-requests/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/phone-numbers/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/sip-accounts/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/sip-thresholds/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/tts/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/voice-accounts/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/voice-api/v2/api-reference
📖
Documentation
https://docs.cm.com/voice/voice-insights/v1/api-reference

Specifications

Schemas & Data

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/cm-com:cm-com-segments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

cm-com-segments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Segments API
  version: v1.0
tags:
- name: Segments
paths:
  /profile/v1.0/tenants/{tenantId}/profiletypes/{profileTypeId}/segments:
    get:
      tags:
      - Segments
      parameters:
      - name: tenantId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: profileTypeId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: skip
        in: query
        schema:
          type: integer
          format: int32
      - name: take
        in: query
        schema:
          type: integer
          format: int32
          default: 2147483647
      - name: filter
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
      summary: Get profile tenants by tenant id profiletypes by profile type id segments
      x-summary-source: derived
      operationId: getProfileV10TenantsByTenantIdProfiletypesByProfileTypeIdSegments
      x-operation-id-source: derived
  /profile/v1.0/tenants/{tenantId}/profiletypes/{profileTypeId}/segments/{segmentId}:
    get:
      tags:
      - Segments
      parameters:
      - name: tenantId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: profileTypeId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
      summary: Get profile tenants by tenant id profiletypes by profile type id segments by…
      x-summary-source: derived
      operationId: getProfileV10TenantsByTenantIdProfiletypesByProfileTypeIdSegmentsBySegmentId
      x-operation-id-source: derived
  /profile/v1.0/tenants/{tenantId}/profiletypes/{profileTypeId}/segments/_count:
    get:
      tags:
      - Segments
      parameters:
      - name: tenantId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: profileTypeId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: integer
                format: int32
            application/json:
              schema:
                type: integer
                format: int32
            text/json:
              schema:
                type: integer
                format: int32
      summary: Get profile tenants by tenant id profiletypes by profile type id segments count
      x-summary-source: derived
      operationId: getProfileV10TenantsByTenantIdProfiletypesByProfileTypeIdSegmentsCount
      x-operation-id-source: derived
  /profile/v1.0/tenants/{tenantId}/profiletypes/{profileTypeId}/segments/{segmentId}/_rename:
    put:
      tags:
      - Segments
      parameters:
      - name: tenantId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: profileTypeId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
          application/json:
            schema:
              $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
          text/json:
            schema:
              $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
            application/json:
              schema:
                $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
            text/json:
              schema:
                $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
        '201':
          description: Created
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
            application/json:
              schema:
                $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
            text/json:
              schema:
                $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.ApiSegment'
      summary: Replace profile tenants by tenant id profiletypes by profile type id segments…
      x-summary-source: derived
      operationId: putProfileV10TenantsByTenantIdProfiletypesByProfileTypeIdSegmentsBySegmentIdRename
      x-operation-id-source: derived
components:
  schemas:
    CM.Data.Core.Profiles.Api.Models.ApiSegment:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          format: uuid
        name:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
        queryTree:
          $ref: '#/components/schemas/CM.Data.QueryLanguage.Tree'
        consentPurposeId:
          type:
          - string
          - 'null'
          format: uuid
        shouldBeSynchronizedToAddressBook:
          type: boolean
        addressBookStatus:
          $ref: '#/components/schemas/CM.Data.Core.Profiles.Api.Models.Enums.ApiSegmentAddressBookStatus'
      additionalProperties: false
    CM.Data.Core.Profiles.Api.Models.Enums.ApiSegmentAddressBookStatus:
      enum:
      - 0
      - 1
      - 2
      type: integer
      format: int32
    CM.Data.QueryLanguage.Tree:
      type: object
      properties:
        root:
          $ref: '#/components/schemas/CM.Data.QueryLanguage.Nodes.Node'
      additionalProperties: false
    CM.Data.QueryLanguage.Nodes.Node:
      type: object
      additionalProperties: false