NiCE Callback API

: Callback API

GitHub OpenAPI

Operations 2

POST /queuecallback Request an immediate callback #
POST /promise Schedule a callback #

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-callback-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-callback-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nice Callback API
  version: v1
  description: 'Operations tagged Callback across 2 of this provider''s published API definitions: nice-patron-callback.json, nice-patron-callback-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Callback
  description: ': Callback API'
paths:
  /queuecallback:
    post:
      tags:
      - Callback
      summary: Request an immediate callback
      description: This method allows you to request that a callback be made "immediately" (i.e. as soon as an agent is available to call back). The callback request is placed in the queue for the designated skill, and will be routed in order along with other calls that are in that queue.
      operationId: requestACallback
      parameters:
      - name: phoneNumber
        in: query
        description: The phone number to call.  Use "+" followed by country code for international numbers
        required: true
        schema:
          type: string
      - name: callerId
        in: query
        description: The phone number for Caller ID on callback
        schema:
          type: string
      - name: callDelay
        in: query
        description: Delay in seconds before callback happens once contact is accepted
        schema:
          type: integer
          format: int32
      - name: skill
        in: query
        description: ID for skill to queue the call against if wanted
        required: true
        schema:
          type: integer
          format: int32
      - name: targetAgent
        in: query
        description: ID for Agent to queue the call for.  If included will override the skill parameter
        schema:
          type: integer
          format: int32
      - name: priorityManagement
        in: query
        description: DefaultFromSkill means skill manages priority change, Custom means the values in this API manage priority change
        schema:
          type: string
      - name: initialPriority
        in: query
        description: Initial priority, default value is "0"
        schema:
          type: integer
          format: int64
      - name: acceleration
        in: query
        description: Rate to accelerate priority, default value is "0".  Increases each second by (acceleration/60)
        schema:
          type: integer
          format: int64
      - name: maxPriority
        in: query
        description: Maximum value priority can accelerate to, default value is "0"
        schema:
          type: integer
          format: int64
      - name: sequence
        in: query
        description: String that is converted to speech and played to agent before patron is dialed
        schema:
          type: string
      - name: zipTone
        in: query
        description: <b>BeforeSequence</b> or <b>AfterSequence</b> will play a tone to agent before or after speech.  <b>NoZipTone</b> prevents a tone
        schema:
          type: string
      - name: screenPopSrc
        in: query
        description: Defines how to open a URL for the agent in the default browser. <b>DefaultFromSkill</b> opens the skill in central, <b>UseOnPageOpen</b> , <b>Custom</b> uses the URL passed by "screenPorUrl"
        schema:
          type: string
      - name: screenPopUrl
        in: query
        description: URL to be used if "screenPopSource" is set to Custom
        schema:
          type: string
      - name: timeout
        in: query
        description: Time in seconds the callback should remain active
        schema:
          type: integer
          format: int64
      responses:
        '202':
          description: Accepted
        '401':
          description: Unauthorized
        '403':
          description: Invalid Security User.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: access_denied
                  error_description:
                    type: string
                    description: Forbidden
  /promise:
    post:
      tags:
      - Callback
      summary: Schedule a callback
      description: 'This method allows you to schedule a call back for a future time. The main difference between this and /queuecallback is that the queuecallback action starts an active contact and places it in the queue (skill or agent) selected. It will be treated as if it were a live call from a patron as it is processed.

        The /promise method simply creates a reminder for someone (skill or agent) to place an outbound call at a specific time in the future.'
      operationId: scheduleACallback
      parameters:
      - name: firstName
        in: query
        description: The first, or given, name of the patron to be called back
        required: true
        schema:
          type: string
      - name: lastName
        in: query
        description: The last name, or surname, of the patron to be called back
        required: true
        schema:
          type: string
      - name: phoneNumber
        in: query
        description: The phone number to call.  Use "+" followed by country code for international numbers
        required: true
        schema:
          type: string
      - name: skill
        in: query
        description: The outbound phone skill with which to place the call. If you specify both skill and targetAgent then targetAgent takes precedence. <b>Both the targetAgent and skill must be included</b>. If you intend to queue the callback to a skill (i.e. route the callback to any available agent with that skill), the targetAgent value must be "" (empty string)<br/>"skill" must be a valid outbound skill ID (not a skill name)
        required: true
        schema:
          type: integer
          format: int64
      - name: targetAgent
        in: query
        description: The agent to which to queue the callback.  <b>Both the targetAgent and skill must be included</b>. If you intend to queue the callback to a skill (i.e. route the callback to any available agent with that skill), the targetAgent value must be "" (empty string).<br/>"targetAgent" must be a valid ID of an active agent (not an agent username)
        schema:
          type: integer
          format: int64
      - name: promiseDate
        in: query
        description: 'The ISO 8601 date the callback should occur <br/><br/><b>NOTE: </b> Input should be in yyyy-mm-ddThh:mm:ss format eg: 2021-10-20T06:00:00'
        required: true
        schema:
          type: string
          format: date-time
      - name: promiseTime
        in: query
        description: 'The ISO 8601 time the callback should occur <br/><br/><b>NOTE: </b> Input should be in yyyy-mm-ddThh:mm:ss format eg: 2021-10-20T06:00:00'
        required: true
        schema:
          type: string
          format: date-time
      - name: notes
        in: query
        description: Any callback notes that should be displayed to the agent when the callback is routed
        schema:
          type: string
      - name: timeZone
        in: query
        description: Timezone for the callback request
        schema:
          type: string
      responses:
        '202':
          description: Accepted
        '400':
          description: <p>Skill Or Agent Required</p><p>First Name Required</p><p>Last Name Required</p><p>Phone Number Required</p><p>Promise Date Required</p><p>Invalid Time Zone</p><p>Promise Date In Past</p>
        '403':
          description: Invalid Security User.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: access_denied
                  error_description:
                    type: string
                    description: Forbidden
        '401':
          description: Unauthorized
x-refined-from:
- nice-patron-callback.json
- nice-patron-callback-openapi.yml