NiCE Routing Attributes API

: Routing Attributes API Documentation

GitHub OpenAPI

Operations 7

GET /routing-attributes Retrieves a list of Routing Attributes #
GET /routing-attributes/{routingAttributeNo} Retrieves a Routing Attribute #
PUT /routing-attributes/{routingAttributeNo} Updates or Adds a Routing Attribute #
GET /routing-attributes/{routingAttributeNo}/agents Retrieves a Routing Attribute's assigned Agents #
GET /agents/{agentNo}/routing-attributes Retrieves an Agent's assigned Routing Attribute #
PUT /agents/{agentNo}/routing-attributes Updates an Agent's assigned Routing Attribute #
DELETE /agents/routing-attributes/{routingAttributeNo} Unassigns a Routing Attribute from an Agent #

Specifications

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/nice:nice-routingattributes-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

nice-routingattributes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nice Routing Attributes API
  version: v1
  description: 'Operations tagged RoutingAttributes across 2 of this provider''s published API definitions: nice-admin-routingattributes.json, nice-admin-routingattributes-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: RoutingAttributes
  description: ': Routing Attributes API Documentation'
paths:
  /routing-attributes:
    get:
      tags:
      - RoutingAttributes
      summary: Retrieves a list of Routing Attributes
      description: Retrieves a list of Routing Attributes associated with the User's BusinessUnit
      operationId: getRoutingAttributes
      parameters:
      - name: status
        in: query
        required: true
        description: Status of Routing Attribute. 0 for ALL, 1 for ACTIVE, & 2 for INACTIVE
        schema:
          type: integer
          enum:
          - 0
          - 1
          - 2
          default: 1
      - name: maximumRows
        in: query
        required: true
        description: The number of records to return
        schema:
          type: integer
          default: 10000
      - name: startRowIndex
        in: query
        required: true
        description: The index at which to start pulling records
        schema:
          type: integer
      - name: orderColumn
        in: query
        required: true
        description: The name of the field to order by
        schema:
          type: string
      - name: orderAsc
        in: query
        required: true
        description: Order by Ascending
        schema:
          type: boolean
          enum:
          - true
          - false
          default: true
      - name: searchText
        in: query
        description: Text to search the results by
        schema:
          type: string
        required: false
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingAttributeGetListResponse'
        '401':
          description: Invalid User Security Profile
        '404':
          description: No Content Returned
        '409':
          description: Invalid Permissions
  /routing-attributes/{routingAttributeNo}:
    get:
      tags:
      - RoutingAttributes
      summary: Retrieves a Routing Attribute
      description: Retrieves a Routing Attribute based on Routing Attribute ID
      operationId: getRoutingAttribute
      parameters:
      - name: routingAttributeNo
        in: path
        required: true
        description: ID of Routing Attribute
        schema:
          type: integer
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingAttribute'
        '401':
          description: Invalid User Security Profile
        '404':
          description: No Content Returned
        '409':
          description: Invalid Permissions
    put:
      tags:
      - RoutingAttributes
      summary: Updates or Adds a Routing Attribute
      description: 'Updates or Adds a Routing Attribute based on Routing Attribute ID.


        Note: When making a request to the Routing Attributes API, please ensure that the routingAttributeNo is passed as a path parameter rather than a query parameter.

        To create a new routing attribute, use -1 as the value for routingAttributeNo in the PUT request.

        Example: PUT /routing-attributes/-1'
      operationId: addUpdateRoutingAttribute
      parameters:
      - name: routingAttributeNo
        in: path
        required: true
        description: ID of Routing Attribute
        schema:
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoutingAttributePutRequest'
        description: Routing Attribute
      responses:
        '200':
          description: Successful Operation
        '400':
          description: Routing Attribute Name In Use or Business Unit Does Not Exist
        '401':
          description: Invalid User Security Profile
        '404':
          description: No Content Returned
        '409':
          description: Invalid Permissions or Max Routing Attribute Count Exceeded
  /routing-attributes/{routingAttributeNo}/agents:
    get:
      tags:
      - RoutingAttributes
      summary: Retrieves a Routing Attribute's assigned Agents
      operationId: getRoutingAttributeAgents
      parameters:
      - name: routingAttributeNo
        in: path
        required: true
        description: ID of Routing Attribute
        schema:
          type: integer
      - name: maximumRows
        in: query
        required: true
        description: The number of records to return
        schema:
          type: integer
          default: 10000
      - name: startRowIndex
        in: query
        required: true
        description: The index at which to start pulling records
        schema:
          type: integer
      - name: orderColumn
        in: query
        description: The name of the field to order by
        schema:
          type: string
          default: Attribute_No
        required: false
      - name: orderAsc
        in: query
        required: true
        description: Order by Ascending
        schema:
          type: boolean
          enum:
          - true
          - false
          default: true
      - name: searchText
        in: query
        required: true
        description: Text to search the data by
        schema:
          type: string
      - name: assigned
        in: query
        required: true
        description: If true, returns back Agents assigned to this specific Routing Attribute
        schema:
          type: boolean
          enum:
          - true
          - false
          default: true
      - name: status
        in: query
        required: true
        description: Status of Routing Attribute. 0 for ALL, 1 for ACTIVE, & 2 for INACTIVE
        schema:
          type: integer
          enum:
          - 0
          - 1
          - 2
          default: 1
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingAttributeAgentsResponse'
        '401':
          description: Invalid User Security Profile
        '404':
          description: No Content Returned
        '409':
          description: Invalid Permissions
  /agents/{agentNo}/routing-attributes:
    get:
      tags:
      - RoutingAttributes
      summary: Retrieves an Agent's assigned Routing Attribute
      operationId: getAgentRoutingAttributes
      parameters:
      - name: agentNo
        in: path
        required: true
        description: ID of Agent
        schema:
          type: integer
      - name: status
        in: query
        required: true
        description: Status of Routing Attribute. 0 for ALL, 1 for ACTIVE, & 2 for INACTIVE
        schema:
          type: integer
          enum:
          - 0
          - 1
          - 2
          default: 1
      - name: maximumRows
        in: query
        required: true
        description: The number of records to return
        schema:
          type: integer
          default: 10000
      - name: startRowIndex
        in: query
        required: true
        description: The index at which to start pulling records
        schema:
          type: integer
      - name: orderColumn
        in: query
        required: true
        description: The name of the field to order by
        schema:
          type: string
          default: Attribute_No
      - name: orderAsc
        in: query
        required: true
        description: Order by Ascending
        schema:
          type: boolean
          enum:
          - true
          - false
          default: true
      - name: searchText
        in: query
        required: true
        description: Text to search the data by
        schema:
          type: string
      - name: assigned
        in: query
        required: true
        description: If true, returns back Agents assigned to this specific Routing Attribute
        schema:
          type: boolean
          enum:
          - true
          - false
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentRoutingAttributesResponse'
        '401':
          description: Invalid User Security Profile
        '404':
          description: No Content Returned
        '409':
          description: Invalid Permissions
    put:
      tags:
      - RoutingAttributes
      summary: Updates an Agent's assigned Routing Attribute
      description: Update an Agent's assigned Routing Attribute
      operationId: updateAgentRoutingAttributes
      parameters:
      - name: agentNo
        in: path
        required: true
        description: ID of Agent
        schema:
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentRoutingAttributePutRequest'
        description: Agent Routing Attribute
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentRoutingAttribute'
        '400':
          description: Routing Attribute Name In Use or Attribute Does Not Exist or Agent Does Not Exist or Attribute Currently Active
        '401':
          description: Invalid User Security Profile
        '404':
          description: No Content Returned
        '409':
          description: Invalid Permissions
  /agents/routing-attributes/{routingAttributeNo}:
    delete:
      tags:
      - RoutingAttributes
      summary: Unassigns a Routing Attribute from an Agent
      operationId: removeAgentRoutingAttribute
      parameters:
      - name: routingAttributeNo
        in: path
        required: true
        description: ID of existing Routing Attribute to disable
        schema:
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentRoutingAttributeDeleteRequest'
        description: Routing Attribute
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentRoutingAttribute'
        '401':
          description: Invalid User Security Profile
        '404':
          description: No Content Returned or Attribute Does Not Exist or Agent Does Not Exist
        '409':
          description: Invalid Permissions
components:
  schemas:
    RoutingAttributePutRequest:
      type: object
      properties:
        routingAttributeName:
          type: string
          default: ''
        status:
          type: string
          default: CURR
        notes:
          type: string
          default: ''
        modAgentNo:
          type: integer
          format: int32
    AgentRoutingAttributes:
      type: object
      properties:
        Agent_No:
          type: integer
          format: int32
        Bus_No:
          type: integer
          format: int32
        Attribute_No:
          type: integer
          format: int32
        Attribute_Name:
          type: string
        Status:
          type: string
          enum:
          - CURR
          - DISC
          maxLength: 4
    RoutingAttributeGetListResponse:
      type: object
      properties:
        routingAttributes:
          type: array
          items:
            $ref: '#/components/schemas/RoutingAttribute'
          example:
          - Attribute_No: 1
            Bus_No: 1
            Attribute_Name: Attribute 1
            Status: CURR
            Notes: notes
          - Attribute_No: 2
            Bus_No: 1
            Attribute_Name: Attribute 2
            Status: CURR
            Notes: notes
        totalRecords:
          type: integer
          format: int32
          example: 2
    AgentRoutingAttributesResponse:
      type: object
      properties:
        routingAttributes:
          type: array
          items:
            $ref: '#/components/schemas/AgentRoutingAttributes'
          example:
          - Agent_No: 1
            Bus_No: 3
            Attribute_No: 1
            Attribute_Name: Attribute 1
            Status: CURR
          - Agent_No: 1
            Bus_No: 3
            Attribute_No: 2
            Attribute_Name: Attribute 2
            Status: CURR
        totalRecords:
          type: integer
          format: int32
          example: 3
        hiddenAgents:
          type: integer
          format: int32
          example: 1
    RoutingAttribute:
      type: object
      properties:
        Attribute_No:
          type: integer
          format: int32
        Bus_No:
          type: integer
          format: int32
        Attribute_Name:
          type: string
        Status:
          type: string
          enum:
          - CURR
          - DISC
          maxLength: 4
        Notes:
          type: string
      example:
      - Attribute_No: 1
        Bus_No: 1
        Attribute_Name: Attribute 1
        Status: CURR
        Notes: notes
    AgentRoutingAttributeDeleteRequest:
      type: object
      properties:
        agentNo:
          type: integer
        modAgentNo:
          type: integer
    AgentRoutingAttributePutRequest:
      type: object
      properties:
        routingAttributeNo:
          type: integer
        status:
          type: string
          default: CURR
        modAgentNo:
          type: integer
    RoutingAttributeAgent:
      type: object
      properties:
        Agent_No:
          type: integer
          format: int32
        First_Name:
          type: string
        Last_Name:
          type: string
        Team_Name:
          type: string
    AgentRoutingAttribute:
      type: object
      properties:
        RoutingAttributeNo:
          type: integer
          format: int32
        Success:
          type: boolean
      example:
      - Attribute_No: 222
        Sucess: true
    RoutingAttributeAgentsResponse:
      type: object
      properties:
        routingAttributes:
          type: array
          items:
            $ref: '#/components/schemas/RoutingAttributeAgent'
        totalRecords:
          type: integer
          format: int32
          example: 3
        hiddenAgents:
          type: integer
          format: int32
          example: 1
x-refined-from:
- nice-admin-routingattributes.json
- nice-admin-routingattributes-openapi.yml