NiCE Access Keys API

: Access Keys Management

GitHub OpenAPI

Operations 5

POST /access-key-management/v1/access-keys Create an access key for a user #
PATCH /access-key-management/v1/access-keys Updates an access key for a user #
GET /access-key-management/v1/access-keys Returns a list of access keys #
GET /access-key-management/v1/access-keys/{accessKeyId} Returns an access key config #
DELETE /access-key-management/v1/access-keys/{accessKeyId} Deletes an access key #

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-accesskeys-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-accesskeys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nice Access Keys API
  version: v1
  description: 'Operations tagged AccessKeys across 2 of this provider''s published API definitions: nice-cxone-accesskeys.json, nice-cxone-accesskeys-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: AccessKeys
  description: ': Access Keys Management'
paths:
  /access-key-management/v1/access-keys:
    post:
      tags:
      - AccessKeys
      summary: Create an access key for a user
      description: 'This method will create an access key.


        Note: This request uses “https://na1.nice-incontact.com” as its base URI.'
      operationId: CreateAnAccessKeyForAUser
      requestBody:
        description: User ID and Tenant ID
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/body'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/postAccessKeysResponse'
        '400':
          description: <p>Invalid Request</p> <p>tenantId does not exist</p> <p>userId does not exist in the tenant</p> <p>userId without tenantId or vice versa</p> <p>agentId without billingId or vice versa</p>
        '401':
          description: Unauthorized
        '403':
          description: Access is denied
    patch:
      tags:
      - AccessKeys
      summary: Updates an access key for a user
      description: 'This method will update an access key.Update will only allow an access key “isActive” flag to be set.


        Note: This request uses “https://na1.nice-incontact.com” as its base URI.'
      operationId: UpdatesAnAccessKeyForAUser
      parameters:
      - name: tenantId
        in: query
        description: Tenant Id
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: userId
        in: query
        description: user Id
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: accessKeyId
        in: query
        description: Access Key ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      requestBody:
        description: is Active
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/body_1'
      responses:
        '200':
          description: Success
        '400':
          description: <p>Invalid Input</p> <p>Invalid tenantId or billingId</p>
        '401':
          description: Unauthorized
        '403':
          description: Access is denied
        '404':
          description: Access key not found
      x-operation-id-source: normalized
      x-operation-id-original: Updates an access key for a user
    get:
      tags:
      - AccessKeys
      summary: Returns a list of access keys
      description: 'This method will return a list of access keys. Permissions on the user’s role will affect the response. Paging parameters top, skip, orderby, fields can be used to filter the request.


        Note: This request uses “https://na1.nice-incontact.com” as its base URI.'
      operationId: ReturnsAListOfAccessKeys
      parameters:
      - name: userId
        in: query
        description: User Id
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: agentId
        in: query
        description: agent Id
        required: false
        style: form
        explode: true
        schema:
          type: integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getAccessKeysResponse'
        '400':
          description: <p>Invalid tenantId or billingId</p> <p>agentId with tenantId not allowed</p> <p>userId with billingId not allowed</p> <p>Invalid skip</p> <p>Invalid top</p><p>Invalid order by</p><p>Invalid fields</p>
        '401':
          description: Unauthorized
        '403':
          description: Access is denied
  /access-key-management/v1/access-keys/{accessKeyId}:
    get:
      tags:
      - AccessKeys
      summary: Returns an access key config
      description: 'This method will return an access key configuration.


        Note: This request uses “https://na1.nice-incontact.com” as its base URI.'
      operationId: ReturnsAnAccessKeyConfig
      parameters:
      - name: accessKeyId
        in: path
        description: Access Key ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAccessKeyIDResponse'
        '400':
          description: Invalid Access Key
        '401':
          description: Unauthorized
        '403':
          description: Access is denied
        '404':
          description: Access key not found
    delete:
      tags:
      - AccessKeys
      summary: Deletes an access key
      description: 'This method will delete an access key. Once deleted it can’t be used again.


        Note: This request uses “https://na1.nice-incontact.com” as its base URI.'
      operationId: DeletesAnAccessKey
      parameters:
      - name: accessKeyId
        in: path
        description: Access Key ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      responses:
        '200':
          description: Success
        '401':
          description: Unauthorized
        '403':
          description: User's role doesn't have correct permission
        '404':
          description: Access key not found
components:
  schemas:
    body_1:
      type: object
      properties:
        isActive:
          type: boolean
    body:
      type: object
      properties:
        userId:
          type: string
        tenantId:
          type: string
    getAccessKeysResponse__links:
      type: object
      properties:
        self:
          type: string
        next:
          type: string
        previous:
          type: string
    getAccessKeysResponse:
      type: object
      properties:
        totalRecords:
          type: integer
        _links:
          $ref: '#/components/schemas/getAccessKeysResponse__links'
        accessKeys:
          type: array
          items:
            $ref: '#/components/schemas/getAccessKeysResponse_accessKeys'
    postAccessKeysResponse:
      title: accessKey
      properties:
        resultSet:
          title: accessKey
          properties:
            accessKeyId:
              type: string
              description: accessKey Id
            accessKeySecret:
              type: string
              description: accessKey Secret
            userId:
              type: string
              description: userId
            tenantId:
              type: string
              description: tenantId
            agentId:
              type: integer
              description: agentId
            billingId:
              type: integer
              description: billingId
            isActive:
              type: boolean
              description: isActive
          description: contains accesskey
      description: accessKey
    GetAccessKeyIDResponse:
      title: accessKey
      properties:
        resultSet:
          title: accessKey
          properties:
            accessKeySecret:
              type: string
              description: accessKey Secret
            userId:
              type: string
              description: userId
            tenantId:
              type: string
              description: tenantId
            agentId:
              type: integer
              description: agentId
            billingId:
              type: integer
              description: billingId
            isActive:
              type: boolean
              description: isActive
            lastUsedDate:
              type: string
              description: last Used Date
          description: Returns accesskeys based on accesskeyID
      description: accessKey
    getAccessKeysResponse_accessKeys:
      type: object
      properties:
        accessKeyId:
          type: string
        userId:
          type: string
        tenantId:
          type: string
        agentId:
          type: integer
        billingId:
          type: integer
        isActive:
          type: boolean
        lastUsedDate:
          type: string
          format: date
x-refined-from:
- nice-cxone-accesskeys.json
- nice-cxone-accesskeys-openapi.yml