NiCE Division Management API
: New in 26.1 release - Segmentation based on division
: New in 26.1 release - Segmentation based on division
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/nice:nice-divisionmanagement-api"
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.
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: 3.2.0
info:
title: Nice Division Management API
version: v1
description: 'Operations tagged DivisionManagement across 2 of this provider''s published API definitions: nice-cxone-division.json, nice-cxone-division-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: DivisionManagement
description: ': New in 26.1 release - Segmentation based on division'
paths:
/division-management/v1/division:
post:
tags:
- DivisionManagement
summary: Create division
description: Create a new division
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateDivisionRequest'
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/CreateDivisionResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_12
details: Division name cannot be null or empty
hostName: e3adfde217fb
entityType: ''
errors: {}
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedErrorResponse'
example:
timestamp: 2025-04-12T06:00:15.807+0000
status: 401
error: Unauthorized
path: /division-management/v1/division
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: Bad Request
details: Access is denied
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'404':
description: Not Found
content:
application/json:
schema:
properties:
error:
description: The error message.
type: string
error_description:
description: The error description.
type: string
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_1
details: Internal Server Error
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'502':
description: Bad Gateway
operationId: postDivisionManagementV1Division
x-operation-id-source: derived
put:
tags:
- DivisionManagement
summary: Update division
description: Update an existing division
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateDivisionRequest'
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateDivisionResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_6
details: Division Id cannot be null
hostName: e3adfde217fb
entityType: ''
errors: {}
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedErrorResponse'
example:
timestamp: 2025-04-12T06:00:15.807+0000
status: 401
error: Unauthorized
path: /division-management/v1/division
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: Bad Request
details: Access is denied
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'404':
description: Not Found
content:
application/json:
schema:
properties:
error:
description: The error message.
type: string
error_description:
description: The error description.
type: string
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_1
details: Internal Server Error
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'502':
description: Bad Gateway
operationId: putDivisionManagementV1Division
x-operation-id-source: derived
/division-management/v1/division/{divisionId}:
get:
tags:
- DivisionManagement
summary: Get division by ID
description: Retrieve a division by its ID.
parameters:
- name: divisionId
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DivisionResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_1
details: Division with given id is not present
hostName: e3adfde217fb
entityType: ''
errors: {}
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedErrorResponse'
example:
timestamp: 2025-04-12T06:00:15.807+0000
status: 401
error: Unauthorized
path: /division-management/v1/division/109
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: Bad Request
details: Access is denied
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'404':
description: Not Found
content:
application/json:
schema:
properties:
error:
description: The error message.
type: string
error_description:
description: The error description.
type: string
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_1
details: Internal Server Error
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'502':
description: Bad Gateway
operationId: getDivisionManagementV1DivisionByDivisionId
x-operation-id-source: derived
/division-management/v1/division/search:
post:
tags:
- DivisionManagement
summary: Search divisions
description: Search for divisions based on the provided criteria.
requestBody:
description: Request payload for searching divisions
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DivisionSearchRequest'
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DivisionSearchResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_24
details: Invalid fields
hostName: e3adfde217fb
entityType: ''
errors: {}
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedErrorResponse'
example:
timestamp: 2025-04-12T06:00:15.807+0000
status: 401
error: Unauthorized
path: /division-management/v1/division/search
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: Bad Request
details: Access is denied
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'404':
description: Not Found
content:
application/json:
schema:
properties:
error:
description: The error message.
type: string
error_description:
description: The error description.
type: string
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_1
details: Internal Server Error
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'502':
description: Bad Gateway
operationId: postDivisionManagementV1DivisionSearch
x-operation-id-source: derived
/division-management/v1/division/identities:
post:
tags:
- DivisionManagement
summary: API search divisions identities by filter
description: This API is used to search paginated divisions identities by filter
requestBody:
description: Request payload for searching divisions
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DivisionSearchRequest'
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DivisionIdentitiesResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_24
details: INVALID_FIELDS
hostName: e3adfde217fb
entityType: ''
errors: {}
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedErrorResponse'
example:
timestamp: 2025-04-12T06:00:15.807+0000
status: 401
error: Unauthorized
path: /division-management/v1/division/identities
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: Bad Request
details: Access is denied
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'404':
description: Not Found
content:
application/json:
schema:
properties:
error:
description: The error message.
type: string
error_description:
description: The error description.
type: string
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_1
details: Internal Server Error
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'502':
description: Bad Gateway
operationId: postDivisionManagementV1DivisionIdentities
x-operation-id-source: derived
/division-management/v1/division/{divisionId}/getAllBillingCodes:
get:
tags:
- DivisionManagement
summary: Get All Billing Codes
description: Fetch all parent billing codes for a division.
parameters:
- name: divisionId
in: path
required: true
schema:
type: string
responses:
'200':
description: Billing codes fetched successfully
content:
application/json:
schema:
$ref: '#/components/schemas/BillingCodeResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_35
details: Context not found for given division
hostName: e3ed7586e321
entityType: ''
errors: {}
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedErrorResponse'
example:
timestamp: 2025-04-12T06:00:15.807+0000
status: 401
error: Unauthorized
path: /division-management/v1/division/1/getAllBillingCodes
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: Bad Request
details: Access is denied
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'404':
description: Not Found
content:
application/json:
schema:
properties:
error:
description: The error message.
type: string
error_description:
description: The error description.
type: string
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_1
details: Internal Server Error
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'502':
description: Bad Gateway
operationId: getDivisionManagementV1DivisionByDivisionIdGetAllBillingCodes
x-operation-id-source: derived
/division-management/v1/division/billingCode/{billingCode}/validate:
get:
tags:
- DivisionManagement
summary: Validate Billing Code
description: Validates if the billing code is unique and within the allowed limit for the tenant.
parameters:
- name: billingCode
in: path
required: true
description: Billing code to validate
schema:
type: string
responses:
'200':
description: Validation successful
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateDivisionResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_35
details: Context not found for given division
hostName: e3ed7586e321
entityType: ''
errors: {}
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedErrorResponse'
example:
timestamp: 2025-04-12T06:00:15.807+0000
status: 401
error: Unauthorized
path: /division-management/v1/division/billingCode/1/validate
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: Bad Request
details: Access is denied
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'404':
description: Not Found
content:
application/json:
schema:
properties:
error:
description: The error message.
type: string
error_description:
description: The error description.
type: string
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
code: segment_division_manager_service_1
details: Internal Server Error
hostName: f4c67f3b8b7a
entityType: ''
errors: {}
'502':
description: Bad Gateway
operationId: getDivisionManagementV1DivisionBillingCodeByBillingCodeValidate
x-operation-id-source: derived
components:
schemas:
DivisionSearchResponse:
type: object
properties:
totalRecords:
type: integer
format: int32
description: Total count of divisions matching the criteria
skip:
type: integer
format: int32
description: Number of records skipped from the start
top:
type: integer
format: int32
description: Number of records fetched in the response
division:
type: array
items:
$ref: '#/components/schemas/DivisionResponse'
CreateDivisionResponse:
type: object
properties:
divisionId:
type: integer
description: Unique identifier for the created division
UnauthorizedErrorResponse:
type: object
properties:
timestamp:
type: string
status:
type: number
error:
type: string
path:
type: string
DivisionResponse:
type: object
properties:
name:
type: string
description: Name of the division
divisionId:
type: integer
description: Unique identifier for the division
description:
type: string
description: Description of the division
parentDivisionId:
type: integer
description: ID of the parent division
status:
type: string
description: Status of the division
enum:
- ACTIVE
- INACTIVE
isDefault:
type: boolean
description: Whether the division is default
divisionType:
type: string
description: Type of the division
parentDivisionName:
type: string
description: Type of the division
billingCode:
type: integer
description: Billing code associated with the division
level:
type: integer
description: level of division in hierarchy
DivisionSearchRequest:
type: object
properties:
filter:
type: object
additionalProperties:
type: array
items:
type: string
description: Field and values based on which divisions will be filtered
fields:
type: array
items:
type: string
description: Fields to fetch for the division
skip:
type: integer
format: int32
minimum: 0
description: Number of records to skip from the start
top:
type: integer
format: int32
minimum: 0
description: Number of records to fetch
operations:
type: object
additionalProperties:
type: string
enum:
- LIKE
- BETWEEN
- NOT
orderBy:
type: object
additionalProperties:
type: string
enum:
- ASC
- DESC
description: Order in which records are to be sorted
CreateDivisionRequest:
type: object
properties:
name:
type: string
description: Name of the division
description:
type: string
description: Description of the division
parentDivisionId:
type: integer
description: ID of the parent division
status:
type: string
description: Status of the division
enum:
- ACTIVE
- INACTIVE
isDefault:
type: boolean
description: Whether the division is default
divisionType:
type: string
description: Type of the division
billingCode:
type: integer
description: Billing code associated with the division
required:
- name
- status
- isDefault
UpdateDivisionRequest:
type: object
properties:
divisionId:
type: integer
description: Unique identifier for the division
name:
type: string
description: Name of the division
description:
type: string
description: Description of the division
parentDivisionId:
type: integer
description: ID of the parent division
status:
type: string
description: Status of the division
enum:
- ACTIVE
- INACTIVE
isDefault:
type: boolean
description: Whether the division is default
divisionType:
type: string
description: Type of the division
billingCode:
type: integer
description: Billing code associated with the division
required:
- name
- status
- isDefault
UpdateDivisionResponse:
type: object
properties:
success:
type: boolean
description: Indicates if the update was successful
BillingCodeResponse:
type: object
properties:
billingCodes:
type: array
items:
type: integer
description: List of billing codes associated with the division
DivisionIdentitiesResponse:
type: object
properties:
totalRecords:
type: integer
format: int32
description: Total count of divisions matching the criteria
skip:
type: integer
format: int32
description: Number of records skipped from the start
top:
type: integer
format: int32
description: Number of records fetched in the response
divisions:
type: array
items:
$ref: '#/components/schemas/DivisionResponse'
ErrorResponse:
type: object
properties:
code:
type: string
details:
type: string
hostname:
type: string
entityType:
type: string
errors:
type: object
x-refined-from:
- nice-cxone-division.json
- nice-cxone-division-openapi.yml