NiCE Commitments API

: Updated in v33.0 Scheduled Callback Management

GitHub OpenAPI

Operations 5

GET /agents/{agentId}/scheduled-callbacks Updated in v33.0 Returns Scheduled Callbacks for an Agent #
POST /scheduled-callbacks Updated in v33.0 Creates a Scheduled Callback #
PUT /scheduled-callbacks/{callbackId} Updated in v33.0 Updates a Scheduled Callback #
DELETE /scheduled-callbacks/{callbackId} Deletes a Scheduled Callback #
GET /skills/{skillId}/scheduled-callbacks Returns Scheduled Callbacks for a Skill #

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-commitments-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-commitments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nice Commitments API
  version: v1
  description: 'Operations tagged Commitments across 2 of this provider''s published API definitions: nice-admin-commitments.json, nice-admin-commitments-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Commitments
  description: ': Updated in v33.0 Scheduled Callback Management'
paths:
  /agents/{agentId}/scheduled-callbacks:
    get:
      tags:
      - Commitments
      summary: Updated in v33.0 Returns Scheduled Callbacks for an Agent
      description: This method allows you to request any waiting Scheduled Callback requests for the Agent identified by agentId in order to display them to the Agent in your application. These Callbacks are also referred to as Promise Keepers or Promises.
      operationId: AgentScheduledCallbacks
      parameters:
      - name: agentId
        in: path
        required: true
        description: Agent Id
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                title: callbacks
                description: Payload Container
                properties:
                  callbacks:
                    type: array
                    description: Collection of Scheduled Call Backs
                    items:
                      title: callbacks
                      properties:
                        callbackId:
                          type: integer
                          description: Scheduled Callback Id.
                        target:
                          type: string
                          description: For "A" if targeted to an Agent or "S" if targeted to a skill.
                        agentId:
                          type: integer
                          description: Agent Id. For Type "S" callbacks set with Max, the agent id will be the agent that schedules callback. For Type "S" callbacks set with Thin Agent, the agent id will return "-1".
                        skillId:
                          type: integer
                          description: Outbound Skill Id to be used for callback.
                        dialNumber:
                          type: string
                          description: Phone number to be dialed by Agent.
                        origNumber:
                          type: string
                          description: Phone number from which the Scheduled Callback originated.
                        firstName:
                          type: string
                          description: First name of Agent callback is targeted to.
                        lastName:
                          type: string
                          description: Last name of Agent callback is targeted to.
                        notes:
                          type: string
                          description: Any notes entered into the Scheduled Callback.
                        callbackTime:
                          type: string
                          format: date-time
                          description: ISO 8601 time requested for Scheduled Callback.
                        msteamsclientid:
                          type: string
                          description: Users receive notifications about new, upcoming, and modified commitments on their mobile devices via the Outlook email client, even when not logged in.
        '401':
          description: Invalid or expired token
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: The error message.
                  error_description:
                    type: string
                    description: The error description.
        '404':
          description: <p>Invalid Agent Id</p>
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: The error message.
                  error_description:
                    type: string
                    description: The error description.
        '500':
          description: Internal Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: invalid_request
                    description: The error message.
                  error_description:
                    type: string
                    example: InternalServerError
                    description: The error description.
  /scheduled-callbacks:
    post:
      tags:
      - Commitments
      summary: Updated in v33.0 Creates a Scheduled Callback
      description: 'This method allows you to create a Scheduled Callback request for either an Outbound Skill identified by skillId or an Agent identified by targetAgentId. These Callbacks are also referred to as Promise Keepers or Promises. It will return a valid callbackId if successful.


        NOTE: scheduleDate must be passed in ISO 8601 format.'
      operationId: CreateScheduledCallback
      parameters:
      - $ref: '#/components/parameters/phoneNumber'
      - $ref: '#/components/parameters/skillId'
      - $ref: '#/components/parameters/scheduleDate'
      - $ref: '#/components/parameters/firstName'
      - $ref: '#/components/parameters/lastName'
      - $ref: '#/components/parameters/targetAgentId'
      - $ref: '#/components/parameters/notes'
      - name: msCalendarEventId
        in: query
        description: Users receive notifications about new, upcoming, and modified commitments on their mobile devices via the Outlook email client, even when not logged in
        schema:
          type: string
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: Scheduled Callback Response
                properties:
                  callbackId:
                    type: integer
                    description: Scheduled Callback Id.
        '400':
          description: <p>Invalid Skill Id</p><p>Invalid Target Agent Id</p><p>Invalid Schedule Date</p><p>Invalid Phone Number</p>
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: The error message.
                  error_description:
                    type: string
                    description: The error description.
        '401':
          description: Invalid or expired token
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: The error message.
                  error_description:
                    type: string
                    description: The error description.
        '403':
          description: Invalid Security User.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: access_denied
                  error_description:
                    type: string
                    description: Forbidden
        '500':
          description: Internal Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: invalid_request
                    description: The error message.
                  error_description:
                    type: string
                    example: InternalServerError
                    description: The error description.
  /scheduled-callbacks/{callbackId}:
    put:
      tags:
      - Commitments
      summary: Updated in v33.0 Updates a Scheduled Callback
      description: This method allows you to update an exisiting Scheduled Callback identified by callbackId. These Callbacks are also referred to as Promise Keepers or Promises.
      operationId: UpdateScheduledCallback
      parameters:
      - $ref: '#/components/parameters/callbackId'
      - $ref: '#/components/parameters/phoneNumber'
      - $ref: '#/components/parameters/skillId'
      - $ref: '#/components/parameters/scheduleDate'
      - $ref: '#/components/parameters/firstName'
      - $ref: '#/components/parameters/lastName'
      - $ref: '#/components/parameters/targetAgentId'
      - $ref: '#/components/parameters/notes'
      - name: msCalendarEventId
        in: query
        description: Users receive notifications about new, upcoming, and modified commitments on their mobile devices via the Outlook email client, even when not logged in
        schema:
          type: string
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: Scheduled Callback Response
        '400':
          description: <p>Invalid Skill Id</p><p>Invalid Target Agent Id</p><p>Invalid Schedule Date</p><p>Invalid Phone Number</p>
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: The error message.
                  error_description:
                    type: string
                    description: The error description.
        '401':
          description: Invalid or expired token
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: The error message.
                  error_description:
                    type: string
                    description: The error description.
        '403':
          description: Invalid Security User.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: access_denied
                  error_description:
                    type: string
                    description: Forbidden
        '500':
          description: Internal Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: invalid_request
                    description: The error message.
                  error_description:
                    type: string
                    example: InternalServerError
                    description: The error description.
    delete:
      tags:
      - Commitments
      summary: Deletes a Scheduled Callback
      description: This method allows you to delete an exisiting Scheduled Callback identified by callbackId. These Callbacks are also referred to as Promise Keepers or Promises.
      operationId: DeleteScheduledCallback
      parameters:
      - $ref: '#/components/parameters/callbackId'
      responses:
        '200':
          description: Success
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: <p>Invalid callbackID.</p><p>Callback already closed.</p>
  /skills/{skillId}/scheduled-callbacks:
    get:
      tags:
      - Commitments
      summary: Returns Scheduled Callbacks for a Skill
      description: This method allows you to request any waiting Scheduled Callback requests for the Skill identified by skillId in order to display them in your application. These Callbacks are also referred to as Promise Keepers or Promises.
      operationId: SkillScheduledCallbacks
      parameters:
      - $ref: '#/components/parameters/skillId'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getTargetScheduledCallbacksResponse'
        '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
        '404':
          description: Invalid Skill Id
components:
  parameters:
    skillId:
      name: skillId
      in: path
      description: Outbound Skill Id to be used for callback
      required: true
      schema:
        type: integer
        format: int32
    firstName:
      name: firstName
      in: query
      description: First name of the person requesting a callback
      schema:
        type: string
      required: false
    targetAgentId:
      name: targetAgentId
      in: query
      description: The Agent to which to queue the callback. The skillId must be included as well. Do not pass this parameter if you intend to queue the callback to a Skill
      schema:
        type: integer
        format: int32
      required: false
    lastName:
      name: lastName
      in: query
      description: Last name of the person requesting a callback
      schema:
        type: string
      required: false
    phoneNumber:
      name: phoneNumber
      in: query
      description: Phone number to be dialed by Agent
      schema:
        type: string
      required: false
    notes:
      name: notes
      in: query
      description: Any notes for the Scheduled Callback
      schema:
        type: string
      required: false
    callbackId:
      name: callbackId
      in: path
      required: true
      description: Callback Id
      schema:
        type: integer
        format: int32
    scheduleDate:
      name: scheduleDate
      in: query
      description: ISO 8601 time requested for Scheduled Callback
      schema:
        type: string
        format: date-time
      required: false
  schemas:
    getTargetScheduledCallbacksResponse:
      title: ' '
      type: object
      required:
      - calllbacks
      properties:
        callbacks:
          type: array
          description: Collection of Scheduled Call Backs
          items:
            title: Callback
            description: ''
            required:
            - callbackId
            - target
            - agentId
            - skillId
            - dialNumber
            - origNumber
            - firstName
            - lastName
            - notes
            - callbackTime
            properties:
              callbackId:
                type: integer
                description: Scheduled Callback Id
              target:
                type: string
                description: '"A" if targeted to an Agent or "S" if targeted to a skill'
              agentId:
                type: integer
                description: Agent Id. For Type "S" callbacks set with Max, the agent id will be the agent that schedules callback. For Type "S" callbacks set with Thin Agent, the agent id will return "-1".
              skillId:
                type: integer
                description: Outbound Skill Id to be used for callback
              dialNumber:
                type: string
                description: Phone number to be dialed by Agent
              origNumber:
                type: string
                description: Phone number from which the Scheduled Callback originated
              firstName:
                type: string
                description: First name of Agent callback is targeted to
              lastName:
                type: string
                description: Last name of Agent callback is targeted to
              notes:
                type: string
                description: Any notes entered into the Scheduled Callback
              callbackTime:
                type: string
                format: date-time
                description: ISO 8601 time requested for Scheduled Callback
x-refined-from:
- nice-admin-commitments.json
- nice-admin-commitments-openapi.yml