NiCE Verification Token API

: One time verification token

GitHub OpenAPI

Operations 2

GET /one-time-token/authentication Authenticate redirect URL for one-time token #
POST /one-time-token/verification Verify one-time token and get CXone JWT authentication token #

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-verificationtoken-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-verificationtoken-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nice Verification Token API
  version: v1
  description: 'Operations tagged VerificationToken across 2 of this provider''s published API definitions: nice-digital-verificationtoken.json, nice-digital-verificationtoken-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: VerificationToken
  description: ': One time verification token'
paths:
  /one-time-token/authentication:
    get:
      tags:
      - VerificationToken
      summary: Authenticate redirect URL for one-time token
      operationId: getOneTimeToken
      parameters:
      - name: redirectUrl
        in: query
        schema:
          type: string
          minLength: 1
        required: true
      - name: state
        in: query
        schema:
          type: string
          minLength: 1
        required: true
      responses:
        '302':
          description: In "location" header contains redirect URL with token
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorCollection'
  /one-time-token/verification:
    post:
      tags:
      - VerificationToken
      summary: Verify one-time token and get CXone JWT authentication token
      operationId: verifyOneTimeToken
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - brandId
              - userId
              - token
              - purpose
              properties:
                brandId:
                  type: integer
                  description: ID of a Brand in DFO
                userId:
                  type: integer
                  description: ID of a User in DFO existing in given Brand
                token:
                  type: string
                  description: Valid unused one-time token
                purpose:
                  type: string
                  enum:
                  - login
                  - channel-integration
                  - custom-component-login
            example:
              brandId: 1234
              userId: 5678
              token: one-time-token-value
              purpose: login
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                - brand
                - user
                - accessToken
                properties:
                  brand:
                    $ref: '#/components/schemas/Brand'
                  user:
                    $ref: '#/components/schemas/User'
                  accessToken:
                    type: string
        '400':
          description: Invalid data - nonexistent Brand/User, invalid token, unknown purpose
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorCollection'
components:
  schemas:
    ApiError:
      title: API error
      type: object
      required:
      - message
      properties:
        field:
          type: string
          description: Name of the field containing error
        message:
          type: string
          description: Error description
        parameters:
          type: object
          description: Free dictionary of additional data describing the error state
        errorCode:
          type: string
          description: Specific code of the type of error
    Brand:
      title: Brand definition
      type: object
      properties:
        id:
          type: integer
          minimum: 1
        friendlyName:
          type: string
        timezone:
          type: string
        brandHash:
          type: string
        tenantId:
          type:
          - string
          - 'null'
          format: uuid
        businessUnitId:
          type:
          - integer
          - 'null'
        acdClusterId:
          type:
          - string
          - 'null'
      required:
      - id
      - friendlyName
      - timezone
      - brandHash
    ApiErrorCollection:
      title: Collection of API errors
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ApiError'
        uid:
          type: string
          description: UID for debug purposes
      required:
      - errors
    User:
      type: object
      required:
      - id
      - emailAddress
      - loginUsername
      - firstName
      - surname
      - isBotUser
      - isSurveyUser
      properties:
        id:
          type: integer
          description: ID of the User (platform specific)
          example: 21543
        incontactId:
          type: string
          description: ID of the User in CXone
          example: b6925157-5e0e-4c11-8e9b-56a4078abb25
        emailAddress:
          type: string
          example: agent@cxone.com
        loginUsername:
          type: string
          description: Login username, typically an e-mail address
          example: agent@cxone.com
        firstName:
          type: string
          example: John
        surname:
          type: string
          example: Haste
        nickname:
          type: string
        imageUrl:
          type: string
          description: Path to user's avatar image
        isBotUser:
          type: boolean
          default: false
        isSurveyUser:
          type: boolean
          default: false
x-refined-from:
- nice-digital-verificationtoken.json
- nice-digital-verificationtoken-openapi.yml