NiCE WFM Data API

: WFM Management

GitHub OpenAPI

Operations 6

GET /wfm-data/skills/contacts Returns contact statistics for WFM #
GET /wfm-data/agents Returns agent metadata #
GET /wfm-data/skills/dialer-contacts Returns dailer contact statistics #
GET /wfm-data/agents/schedule-adherence Returns adherence statistics #
GET /wfm-data/agents/scorecards Returns scorecard statistics #
GET /wfm-data/skills/agent-performance Returns agent-performance #

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-wfmdata-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-wfmdata-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nice WFM Data API
  version: v1
  description: 'Operations tagged WFMData across 2 of this provider''s published API definitions: nice-reporting-reporting.json, nice-reporting-reporting-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: WFMData
  description: ': WFM Management'
paths:
  /wfm-data/skills/contacts:
    get:
      tags:
      - WFMData
      summary: Returns contact statistics for WFM
      description: This method will return the Contact statistics generated by the WFM Data Collector for a specific date range bounded by the startDate and endDate parameters. The maximum range for this method is 1 hour.
      operationId: wfmskillscontacts
      parameters:
      - name: fields
        in: query
        description: Comma separated list of elements to return in response
        schema:
          type: string
      - name: startDate
        in: query
        description: ISO 8601 beginning of report interval
        required: true
        schema:
          type: string
          format: date-time
      - name: endDate
        in: query
        description: ISO 8601 End of report interval
        required: true
        schema:
          type: string
          format: date-time
      - name: mediaTypeId
        in: query
        description: Filters based on the media type
        required: true
        schema:
          type: integer
          enum:
          - 1
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
      responses:
        '200':
          description: '{0}'
          content:
            application/json:
              schema:
                type: object
                properties:
                  businessUnitId:
                    type: integer
                    description: Business Unit Id
                  businessUnitName:
                    type: string
                    description: Business Unit Name
                  intervalStartDate:
                    type: string
                  skillId:
                    type: integer
                    description: Skill Id required to run the Script
                  skillName:
                    type: string
                  isOutbound:
                    type: boolean
                  serviceLevel:
                    type: number
                  mediaTypeId:
                    type: integer
                    description: Media Type Id
                  MediaTypeName:
                    type: string
                    description: Media Type Name
                  totalContacts:
                    type: integer
                  totalHandled:
                    type: integer
                  averageHandleTime:
                    type: number
                  abandonCount:
                    type: integer
                  averageSpeedOfAnswer:
                    type: number
                  totalContactTime:
                    type: number
        '400':
          description: <p>Invalid parameter</p><p>Invalid date range, max {0} days</p>
        '409':
          description: Interval Contact Data Pending
  /wfm-data/agents:
    get:
      tags:
      - WFMData
      summary: Returns agent metadata
      description: This method will return the agent metadata changes for a specific date range bounded by the "startDate" and "endDate" parameters. The maximum range for this method is 14 days.
      operationId: wfmDataAgent
      parameters:
      - name: fields
        in: query
        description: Comma separated list of elements to return in response
        schema:
          type: string
      - name: startDate
        in: query
        description: ISO 8601 beginning of report interval
        required: true
        schema:
          type: string
          format: date-time
      - name: endDate
        in: query
        description: ISO 8601 End of report interval
        required: true
        schema:
          type: string
          format: date-time
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  wfM_Data_Agents:
                    type: array
                    items:
                      type: object
                      properties:
                        agentNo:
                          type: integer
                        teamName:
                          type: string
                        teamNo:
                          type: integer
                        businessUnitId:
                          type: integer
                        businessUnitName:
                          type: string
                        firstName:
                          type: string
                        middleName:
                          type: string
                        lastName:
                          type: string
                        status:
                          type: string
                        createDate:
                          type: string
                        modDateTime:
                          type: string
                        productId:
                          type: integer
                        ntLoginName:
                          type: string
        '400':
          description: <p>Range has exceeded maximum amount of 14 days</p><p>Invalid date between start date and end date</p>
        '401':
          description: Invalid or expired token
  /wfm-data/skills/dialer-contacts:
    get:
      tags:
      - WFMData
      summary: Returns dailer contact statistics
      description: This method will return the dialer-contact generated by the WFM Data Collector for a specific date range bounded by the "startDate" and "endDate" parameters.
      operationId: wfmDailerContactStatistics
      parameters:
      - name: fields
        in: query
        description: Comma separated list of elements to return in response
        schema:
          type: string
      - name: startDate
        in: query
        description: ISO 8601 beginning of report interval
        required: true
        schema:
          type: string
          format: date-time
      - name: endDate
        in: query
        description: ISO 8601 End of report interval
        required: true
        schema:
          type: string
          format: date-time
      - name: mediaTypeId
        in: query
        description: Filters based on the media type
        required: true
        schema:
          type: integer
          enum:
          - 1
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  wfM_OB_StatsV9:
                    type: array
                    items:
                      type: object
                      properties:
                        businessUnitId:
                          type: integer
                        businessUnitName:
                          type: string
                        intervalStartDate:
                          type: string
                        skillId:
                          type: integer
                        skillName:
                          type: string
                        mediaTypeId:
                          type: integer
                        mediaTypeName:
                          type: string
                        dials:
                          type: integer
                        connects:
                          type: integer
                        connectsAHT:
                          type: number
                        rightPartyConnects:
                          type: integer
                        rightPartyConnectsAHT:
                          type: number
                        abandons:
                          type: integer
        '400':
          description: <p><p>Invalid date range</p>
  /wfm-data/agents/schedule-adherence:
    get:
      tags:
      - WFMData
      summary: Returns adherence statistics
      description: This method will return the schedule adherence statistics generated by the WFM Data Collector for a specific date range bounded by the "startDate" and "endDate" parameters.The maximum range for this method is 5 minutes.
      operationId: wfmAdherenceStatistics
      parameters:
      - name: fields
        in: query
        description: Comma separated list of elements to return in response
        schema:
          type: string
      - name: startDate
        in: query
        description: ISO 8601 beginning of report interval
        required: true
        schema:
          type: string
          format: date-time
      - name: endDate
        in: query
        description: ISO 8601 End of report interval
        required: true
        schema:
          type: string
          format: date-time
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  agentStateHistory:
                    type: array
                    items:
                      type: object
                      properties:
                        businessUnitId:
                          type: integer
                        businessUnitName:
                          type: string
                        agentId:
                          type: integer
                        stateIndex:
                          type: integer
                        startDate:
                          type: string
                        agentStateId:
                          type: integer
                        agentSessionId:
                          type: integer
                        skillId:
                          type: integer
                        outStateId:
                          type: integer
                        outStateDescription:
                          type: string
                        duration:
                          type: integer
        '204':
          description: No Content
          content:
            application/json:
              schema:
                type: object
                properties:
                  agentStateHistory:
                    type: array
                    items:
                      type: object
                      properties:
                        businessUnitId:
                          type: integer
                        businessUnitName:
                          type: string
                        agentId:
                          type: integer
                        stateIndex:
                          type: integer
                        startDate:
                          type: string
                        agentStateId:
                          type: integer
                        agentSessionId:
                          type: integer
                        skillId:
                          type: integer
                        outStateId:
                          type: integer
                        outStateDescription:
                          type: string
                        duration:
                          type: integer
        '400':
          description: <p>Invalid date range. Range must be less than or equal to 5 minutes</p>
  /wfm-data/agents/scorecards:
    get:
      tags:
      - WFMData
      summary: Returns scorecard statistics
      description: This method will return the daily scorecard statistics generated by the WFM Data Collector for a specific date range bounded by the "startDate" and "endDate" parameters.
      operationId: wfmAgentScorecard
      parameters:
      - name: fields
        in: query
        description: Comma separated list of elements to return in response
        schema:
          type: string
      - name: startDate
        in: query
        description: ISO 8601 beginning of report interval
        required: true
        schema:
          type: string
          format: date-time
      - name: endDate
        in: query
        description: ISO 8601 End of report interval
        required: true
        schema:
          type: string
          format: date-time
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  agentStateHistory:
                    type: array
                    items:
                      type: object
                      properties:
                        businessUnitId:
                          type: integer
                        businessUnitName:
                          type: string
                        agentId:
                          type: integer
                        stateIndex:
                          type: integer
                        startDate:
                          type: string
                        agentStateId:
                          type: integer
                        agentSessionId:
                          type: integer
                        skillId:
                          type: integer
                        outStateId:
                          type: integer
                        outStateDescription:
                          type: string
                        duration:
                          type: integer
        '204':
          description: No Content
          content:
            application/json:
              schema:
                type: object
                properties:
                  agentStateHistory:
                    type: array
                    items:
                      type: object
                      properties:
                        businessUnitId:
                          type: integer
                        businessUnitName:
                          type: string
                        agentId:
                          type: integer
                        stateIndex:
                          type: integer
                        startDate:
                          type: string
                        agentStateId:
                          type: integer
                        agentSessionId:
                          type: integer
                        skillId:
                          type: integer
                        outStateId:
                          type: integer
                        outStateDescription:
                          type: string
                        duration:
                          type: integer
        '400':
          description: <p>Invalid startDate </p> <p> Invalid endDate</p><p>Invalid date range. Range must not exceed {0} days</p>
  /wfm-data/skills/agent-performance:
    get:
      tags:
      - WFMData
      summary: Returns agent-performance
      description: 'This method will return the daily agent-performance generated by the WFM Data Collector for a single day range bounded by the "startDate" and "endDate" parameters.


        NOTE: Start and End date cannot span more than 31 days, errors if spans more than 1 day.'
      operationId: wfmAgentPerformance
      parameters:
      - name: startDate
        in: query
        description: ISO 8601 beginning of report interval
        required: true
        schema:
          type: string
          format: date-time
      - name: endDate
        in: query
        description: ISO 8601 End of report interval
        required: true
        schema:
          type: string
          format: date-time
      - name: fields
        in: query
        description: Comma separated list of elements to return in response
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  businessUnitId:
                    type: integer
                  businessUnitName:
                    type: string
                  skillId:
                    type: integer
                  skillName:
                    type: string
                  agentId:
                    type: integer
                  firstName:
                    type: string
                  lastName:
                    type: string
                  halfHour:
                    type: integer
                  totalHandled:
                    type: integer
                  totalHandledTime:
                    type: integer
                  totalACWTime:
                    type: integer
        '400':
          description: <p><p>Invalid startDate </p> <p> Invalid endDate</p><p>Invalid Date Range </p></p>
x-refined-from:
- nice-reporting-reporting.json
- nice-reporting-reporting-openapi.yml