NiCE Results API

: Retrieve voice biometric operation results

GitHub OpenAPI

Operations 1

GET /voice-biometric-hub/v1/result New in 26.3: Long Poll Voice Biometric Result #

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-results-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-results-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nice Results API
  version: 1.0.0
  description: 'Operations tagged Results across 2 of this provider''s published API definitions: nice-voicebiometrichub.json, nice-voicebiometrichub-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Results
  description: ': Retrieve voice biometric operation results'
paths:
  /voice-biometric-hub/v1/result:
    get:
      tags:
      - Results
      summary: 'New in 26.3: Long Poll Voice Biometric Result'
      description: 'Long-polling endpoint to retrieve the result of a voice biometric operation. This endpoint holds the connection open for up to 30 seconds waiting for results.


        Behavior:

        - Returns immediately if results are available

        - Holds the connection open (up to 30 seconds) if results are not yet ready

        - On timeout the implementation returns 200 with an error/timeout branchName (voiceBioResult = 3, Error); it does not currently emit 204

        - Supports cancellation via the request''s CancellationToken


        Result Types (voiceBioResult, integer enum):

        - 0 — Success: Operation completed successfully

        - 1 — Failure: Operation failed (authentication denied, enrollment failed, etc.)

        - 2 — NeedMoreAudio: More audio samples required for the operation

        - 3 — Error: An error occurred during processing


        Usage Pattern:

        After initiating an action via /perform-action, poll this endpoint using the same contactId. The endpoint holds the connection open for up to 30 seconds, until results are available or the long-poll times out.'
      operationId: getVoiceBiometricResultLongPoll
      parameters:
      - name: contactId
        in: query
        required: false
        description: Unique identifier for the contact/call session used to correlate the result
        schema:
          type: integer
          format: int64
          example: 123456789
      - name: PersonId
        in: query
        required: true
        description: Unique identifier for the person
        schema:
          type: string
          example: user-12345
      - name: ScriptParamsJson
        in: query
        required: false
        description: Optional JSON object containing script parameters
        schema:
          type: object
          additionalProperties: true
      responses:
        '200':
          description: Voice biometric result retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceBiometricResultResponse'
              examples:
                authSuccess:
                  summary: Authentication succeeded (voiceBioResult = 0)
                  value:
                    personId: user-12345
                    contactId: 123456789
                    branchName: Success
                    voiceBioResult: 0
                    decisionType: Authenticated
                    message: Authentication successful
                    scriptParamsJson:
                      confidence: 0.95
                      duration: 4.5
                authFailure:
                  summary: Authentication failed (voiceBioResult = 1)
                  value:
                    personId: user-12345
                    contactId: 123456789
                    branchName: Failure
                    voiceBioResult: 1
                    decisionType: NotAuthenticated
                    message: Voice did not match enrolled profile
                    scriptParamsJson:
                      confidence: 0.45
                needMoreAudio:
                  summary: Need more audio samples (voiceBioResult = 2)
                  value:
                    personId: user-67890
                    contactId: 987654321
                    branchName: NeedMoreAudio
                    voiceBioResult: 2
                    decisionType: null
                    message: Please speak for 3 more seconds
                    scriptParamsJson:
                      requiredDuration: 8
                      currentDuration: 5
                error:
                  summary: Processing error (voiceBioResult = 3)
                  value:
                    personId: user-99999
                    contactId: 111111111
                    branchName: Error
                    voiceBioResult: 3
                    decisionType: null
                    message: Audio quality too low for processing
                    scriptParamsJson: null
        '204':
          description: 'No Content - declared via the controller''s response attributes for a long-poll timeout. Note: the current implementation returns 200 with an error branch on timeout rather than 204.'
        '400':
          description: Bad Request - Invalid input parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized - Invalid or missing authentication token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    VoiceBiometricResultResponse:
      type: object
      required:
      - personId
      - contactId
      - branchName
      - voiceBioResult
      properties:
        personId:
          type: string
          description: Unique identifier for the person
          example: user-12345
        contactId:
          type: integer
          format: int64
          description: Contact identifier
          example: 123456789
        branchName:
          type: string
          description: Branch name indicating the result status
          example: Success
        voiceBioResult:
          type: integer
          enum:
          - 0
          - 1
          - 2
          - 3
          description: 'Result of the voice biometric operation (integer enum): 0 = Success, 1 = Failure, 2 = NeedMoreAudio, 3 = Error'
          example: 0
        decisionType:
          type:
          - string
          - 'null'
          description: Type of decision made during the voice biometric operation (e.g., Authenticated, NotAuthenticated, Enrolled)
          example: Authenticated
        scriptParamsJson:
          type:
          - object
          - 'null'
          description: Additional result parameters
          additionalProperties: true
          example:
            confidence: 0.95
            duration: 4.5
        message:
          type:
          - string
          - 'null'
          description: Optional message providing additional context
          example: Authentication successful
    ErrorResponse:
      type: object
      description: Illustrative error shape. Error responses (400/401/500) are produced by the framework and may follow ASP.NET ProblemDetails rather than this exact structure.
      properties:
        error:
          type: string
          description: Error type or category
          example: ValidationError
        message:
          type: string
          description: Detailed error message
          example: PersonId is required and cannot be empty
        details:
          type:
          - object
          - 'null'
          description: Additional error details
          additionalProperties: true
x-refined-from:
- nice-voicebiometrichub.json
- nice-voicebiometrichub-openapi.yml