NiCE Store And Forward Generic API

: New in 26.4. Store and Forward generic ingestion operations

GitHub OpenAPI

Operations 3

POST /api/store-and-forward/v1/interaction-ingestion-jobs Create a new ingestion job #
GET /api/store-and-forward/v1/interaction-ingestion-jobs/{jobId} Get job status #
GET /api/store-and-forward/v1/interaction-ingestion-jobs/{jobId}/interactions List interactions for a job (with per-interaction statuses) #

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-storeandforwardgeneric-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-storeandforwardgeneric-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nice Store And Forward Generic API
  version: 0.1.0
  description: 'Operations tagged StoreAndForwardGeneric across 2 of this provider''s published API definitions: nice-generic-storeandforward.json, nice-generic-storeandforward-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: StoreAndForwardGeneric
  description: ': New in 26.4. Store and Forward generic ingestion operations'
paths:
  /api/store-and-forward/v1/interaction-ingestion-jobs:
    post:
      tags:
      - StoreAndForwardGeneric
      summary: Create a new ingestion job
      description: Creates a new interaction ingestion job by validating and submitting interaction metadata and generating upload URLs for associated media. For each interaction, systemName is extracted from the leadingAgent's externalIdentifier and resolved synchronously to systemId before job acceptance. Interactions older than 30 days (by interaction.startTime) must be rejected.
      operationId: createInteractionIngestionJob
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  description: <ul><li>The request body must be a ZIP archive.</li><li>The ZIP must contain exactly one JSON file at the root level.</li><li>The ZIP must not contain folders or additional files.</li><li>The JSON file must be valid UTF-8 encoded JSON.</li><li>The JSON file must conform to the InteractionsIngestionManifest schema (see components/schemas/InteractionsIngestionManifest).</li></ul>
                  type: string
                  format: binary
      responses:
        '202':
          description: Job accepted and processing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateJobResponse'
              examples:
                runningWithMediaUploadUrls:
                  value:
                    tenantId: string
                    traceId: string
                    jobId: string
                    status: RUNNING
                    creationTime: '2026-04-28T08:09:23.302Z'
                    completionTime: null
                    uploadUrlValidityMinutes: 5
                    interactionCounters:
                      total: 1
                      succeeded: 0
                      failed: 0
                      inProgress: 1
                    mediaUploadUrls:
                    - systemName: string
                      interactionId: string
                      mediaId: string
                      mediaType: AUDIO
                      uploadUrl: https://example.com/
                      httpMethod: PUT
                      headers:
                        Content-Type: audio/wav
                        Content-MD5: string
                      uploadUrlExpiresAt: '2026-04-28T08:14:23.302Z'
                      maxSizeBytes: 2147483648
                failedAllInteractionsInvalid:
                  value:
                    tenantId: string
                    jobId: string
                    status: FAILED
                    creationTime: '2026-04-28T08:09:23.302Z'
                    completionTime: null
                    interactionCounters:
                      total: 2
                      succeeded: 0
                      failed: 2
                      inProgress: 0
        '400':
          description: Fatal validation error (invalid ZIP structure or unparseable JSON)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestErrorResponse'
              example:
                error_code: INVALID_JSON_CONTENT
                statusCode: 400
                message: Invalid JSON content
                timestamp: '2026-04-28T08:19:26.058Z'
        '401':
          description: Unauthorized (invalid token)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedErrorResponse'
              example:
                error_code: AUTH_FAILED
                statusCode: 401
                message: Authentication failed
                timestamp: '2026-04-28T08:19:26.058Z'
        '403':
          description: Forbidden (token valid but not allowed to ingest)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenErrorResponse'
              example:
                error_code: AUTHORIZATION_FAILED
                statusCode: 403
                message: 'Request blocked: your account does not have permission to upload interactions via the Voice/Digital API. Please contact your CXone administrator.'
                timestamp: '2026-04-28T08:19:26.058Z'
        '413':
          description: Payload Too Large
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayloadTooLargeErrorResponse'
              example:
                error_code: PAYLOAD_TOO_LARGE
                statusCode: 413
                message: Payload too large
                timestamp: '2026-04-28T08:19:26.058Z'
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsErrorResponse'
              example:
                error_code: TOO_MANY_REQUESTS
                statusCode: 429
                message: Too many requests
                timestamp: '2026-04-28T08:19:26.058Z'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
              example:
                error_code: SERVER_ERROR
                statusCode: 500
                message: Internal server error
                timestamp: '2026-04-28T08:19:26.058Z'
        '503':
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableErrorResponse'
              example:
                error_code: SERVICE_UNAVAILABLE
                statusCode: 503
                message: Service unavailable
                timestamp: '2026-04-28T08:19:26.058Z'
  /api/store-and-forward/v1/interaction-ingestion-jobs/{jobId}:
    get:
      tags:
      - StoreAndForwardGeneric
      summary: Get job status
      description: Retrieves the current status and summary details of a specific interaction ingestion job.
      operationId: getInteractionIngestionJob
      parameters:
      - $ref: '#/components/parameters/jobId'
      responses:
        '200':
          description: Job details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Job'
        '400':
          description: Bad Request (missing request headers)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MissingHeadersErrorResponse'
              example:
                error_code: MISSING_HEADERS
                message: Missing headers in request
                timestamp: '2026-04-28T08:19:26.058Z'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedErrorResponse'
              examples:
                authenticationFailed:
                  value:
                    error_code: AUTHENTICATION_FAILED
                    statusCode: 401
                    message: Authentication failed
                    timestamp: '2026-04-28T08:19:26.058Z'
                missingTenant:
                  value:
                    error_code: AUTHENTICATION_FAILED
                    message: 'Invalid token: missing tenant information'
                    timestamp: '2026-04-28T08:19:26.058Z'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenErrorResponse'
              example:
                error_code: AUTHORIZATION_FAILED
                statusCode: 403
                message: 'Request blocked: your account does not have permission to access this resource via the API. Please contact your CXone administrator.'
                timestamp: '2026-04-28T08:19:26.058Z'
        '404':
          description: Job Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                errorCode: JOB_NOT_FOUND
                message: Interaction ingestion job was not found
                jobId: job-123
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsErrorResponse'
              example:
                error_code: TOO_MANY_REQUESTS
                statusCode: 429
                message: Too many requests
                timestamp: '2026-04-28T08:19:26.058Z'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/InternalServerErrorResponse'
                - $ref: '#/components/schemas/DatabaseErrorResponse'
              examples:
                unexpectedAuthError:
                  value:
                    error_code: INTERNAL_SERVER_ERROR
                    statusCode: 500
                    message: An unexpected error occurred
                    timestamp: '2026-04-28T08:19:26.058Z'
                databaseError:
                  value:
                    message: Failed to retrieve job
                    error: DynamoDB connection failure
        '503':
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableErrorResponse'
              example:
                error_code: SERVICE_UNAVAILABLE
                statusCode: 503
                message: Service unavailable
                timestamp: '2026-04-28T08:19:26.058Z'
  /api/store-and-forward/v1/interaction-ingestion-jobs/{jobId}/interactions:
    get:
      tags:
      - StoreAndForwardGeneric
      summary: List interactions for a job (with per-interaction statuses)
      description: Returns the list of interactions included in an ingestion job, along with per-interaction processing status and results.
      operationId: listJobInteractions
      parameters:
      - $ref: '#/components/parameters/jobId'
      responses:
        '200':
          description: Interactions page
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobInteractionsPage'
        '400':
          description: Bad Request (missing request headers)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MissingHeadersErrorResponse'
              example:
                error_code: MISSING_HEADERS
                message: Missing headers in request
                timestamp: '2026-04-28T08:19:26.058Z'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedErrorResponse'
              examples:
                authenticationFailed:
                  value:
                    error_code: AUTHENTICATION_FAILED
                    statusCode: 401
                    message: Authentication failed
                    timestamp: '2026-04-28T08:19:26.058Z'
                missingTenant:
                  value:
                    error_code: AUTHENTICATION_FAILED
                    message: 'Invalid token: missing tenant information'
                    timestamp: '2026-04-28T08:19:26.058Z'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenErrorResponse'
              example:
                error_code: AUTHORIZATION_FAILED
                statusCode: 403
                message: 'Request blocked: your account does not have permission to access this resource via the API. Please contact your CXone administrator.'
                timestamp: '2026-04-28T08:19:26.058Z'
        '404':
          description: Job Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                errorCode: JOB_NOT_FOUND
                message: Interaction ingestion job was not found
                jobId: job-123
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsErrorResponse'
              example:
                error_code: TOO_MANY_REQUESTS
                statusCode: 429
                message: Too many requests
                timestamp: '2026-04-28T08:19:26.058Z'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/InternalServerErrorResponse'
                - $ref: '#/components/schemas/DatabaseErrorResponse'
              examples:
                unexpectedAuthError:
                  value:
                    error_code: INTERNAL_SERVER_ERROR
                    statusCode: 500
                    message: An unexpected error occurred
                    timestamp: '2026-04-28T08:19:26.058Z'
                databaseError:
                  value:
                    message: Failed to retrieve interactions
                    error: DynamoDB connection failure
        '503':
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableErrorResponse'
              example:
                error_code: SERVICE_UNAVAILABLE
                statusCode: 503
                message: Service unavailable
                timestamp: '2026-04-28T08:19:26.058Z'
components:
  schemas:
    BadRequestErrorResponse:
      type: object
      required:
      - error_code
      - statusCode
      - message
      - timestamp
      properties:
        error_code:
          type: string
          description: Application error code returned by header/multipart/file/schema/system validation
          example: INVALID_JSON_CONTENT
        statusCode:
          type: integer
          enum:
          - 400
        message:
          type: string
        timestamp:
          type: string
          format: date-time
    UnauthorizedErrorResponse:
      type: object
      required:
      - error_code
      - message
      - timestamp
      description: Authentication failed
      properties:
        error_code:
          type: string
        statusCode:
          type: integer
          enum:
          - 401
        message:
          type: string
        timestamp:
          type: string
          format: date-time
    CreateJobStatus:
      type: string
      description: Job-level status for create-job response; RUNNING means at least one interaction is non-final, FAILED means all interactions failed.
      enum:
      - RUNNING
      - FAILED
    Job:
      type: object
      required:
      - tenantId
      - jobId
      - status
      - creationTime
      - completionTime
      - interactionCounters
      properties:
        tenantId:
          type: string
        jobId:
          type: string
        status:
          $ref: '#/components/schemas/JobStatus'
        creationTime:
          type: string
          format: date-time
        completionTime:
          type:
          - string
          - 'null'
          format: date-time
        interactionCounters:
          $ref: '#/components/schemas/InteractionCounters'
      additionalProperties: false
    InternalServerErrorResponse:
      type: object
      required:
      - error_code
      - statusCode
      - message
      - timestamp
      properties:
        error_code:
          type: string
          example: INTERNAL_SERVER_ERROR
        statusCode:
          type: integer
          enum:
          - 500
        message:
          type: string
        timestamp:
          type: string
          format: date-time
    InteractionErrorCode:
      type: string
      description: Error code when status is FAILED. When errorCode is MALWARE_DETECTED or TIME_LIMIT_EXCEEDED, the interaction is removed from the deduplication table to allow re-ingestion after remediation.
      example: TIME_LIMIT_EXCEEDED
    CreateJobResponse:
      type: object
      required:
      - tenantId
      - jobId
      - status
      - creationTime
      - completionTime
      - interactionCounters
      properties:
        tenantId:
          type: string
        traceId:
          type: string
        jobId:
          type: string
        status:
          $ref: '#/components/schemas/CreateJobStatus'
        creationTime:
          type: string
          format: date-time
        completionTime:
          type:
          - string
          - 'null'
          format: date-time
        uploadUrlValidityMinutes:
          type: integer
          minimum: 5
          maximum: 60
          default: 5
        mediaUploadUrls:
          type: array
          items:
            $ref: '#/components/schemas/MediaUploadUrl'
        interactionCounters:
          $ref: '#/components/schemas/InteractionCounters'
    JobStatus:
      type: string
      description: 'Job-level status: RUNNING (at least one interaction non-final), SUCCEEDED (all succeeded), PARTIALLY_SUCCEEDED (mix of succeeded and failed), FAILED (all failed).'
      enum:
      - RUNNING
      - SUCCEEDED
      - PARTIALLY_SUCCEEDED
      - FAILED
    InteractionCounters:
      type: object
      required:
      - total
      - succeeded
      - failed
      - inProgress
      description: Total number of interactions in job, number that have succeeded, failed, or are still in progress.
      properties:
        total:
          type: integer
          minimum: 0
        succeeded:
          type: integer
          minimum: 0
        failed:
          type: integer
          minimum: 0
        inProgress:
          type: integer
          minimum: 0
    TooManyRequestsErrorResponse:
      type: object
      required:
      - error_code
      - statusCode
      - message
      - timestamp
      properties:
        error_code:
          type: string
          example: TOO_MANY_REQUESTS
        statusCode:
          type: integer
          enum:
          - 429
        message:
          type: string
        timestamp:
          type: string
          format: date-time
    DatabaseErrorResponse:
      type: object
      required:
      - message
      - error
      properties:
        message:
          type: string
        error:
          type: string
    JobInteractionsPage:
      type: object
      required:
      - tenantId
      - jobId
      - interactions
      properties:
        tenantId:
          type: string
        jobId:
          type: string
        interactions:
          type: array
          items:
            $ref: '#/components/schemas/InteractionStatusView'
      additionalProperties: false
    MediaUploadUrl:
      type: object
      properties:
        systemName:
          type: string
        interactionId:
          type: string
          description: Source system interaction identifier
        mediaId:
          type: string
        mediaType:
          type: string
          enum:
          - TEXT
          - AUDIO
          - SCREEN
          - ATTACHMENT
        uploadUrl:
          type: string
          format: uri
        httpMethod:
          type: string
          enum:
          - PUT
        headers:
          type: object
          additionalProperties:
            type: string
        uploadUrlExpiresAt:
          type: string
          format: date-time
        maxSizeBytes:
          type: integer
          minimum: 1
    ForbiddenErrorResponse:
      type: object
      required:
      - error_code
      - statusCode
      - message
      - timestamp
      description: Authorization failed
      properties:
        error_code:
          type: string
          example: AUTHORIZATION_FAILED
        statusCode:
          type: integer
          enum:
          - 403
        message:
          type: string
        timestamp:
          type: string
          format: date-time
    InteractionStatus:
      type: string
      description: 'Interaction-level status lifecycle: PROCESSING (initial), WAITING_FOR_MEDIA_UPLOAD (awaiting media), SUCCEEDED (final success), FAILED (final failure).'
      enum:
      - PROCESSING
      - WAITING_FOR_MEDIA_UPLOAD
      - SUCCEEDED
      - FAILED
    PayloadTooLargeErrorResponse:
      type: object
      required:
      - error_code
      - statusCode
      - message
      - timestamp
      properties:
        error_code:
          type: string
          example: PAYLOAD_TOO_LARGE
        statusCode:
          type: integer
          enum:
          - 413
        message:
          type: string
        timestamp:
          type: string
          format: date-time
    InteractionStatusView:
      type: object
      required:
      - systemName
      - interactionId
      - status
      properties:
        systemName:
          type: string
          description: Display name of the source system (from leadingAgent's externalIdentifier)
          example: Acme Recording System
        interactionId:
          type: string
          description: Source system interaction identifier (externalInteractionId from input)
        status:
          $ref: '#/components/schemas/InteractionStatus'
        finalizedAt:
          type: string
          format: date-time
        errorCode:
          $ref: '#/components/schemas/InteractionErrorCode'
        errorMessage:
          type: string
        mediaExpectedCount:
          type: integer
        mediaUploadedCount:
          type: integer
        scanResults:
          type: string
      additionalProperties: false
    MissingHeadersErrorResponse:
      type: object
      required:
      - error_code
      - message
      - timestamp
      properties:
        error_code:
          type: string
          example: MISSING_HEADERS
        message:
          type: string
        timestamp:
          type: string
          format: date-time
    ServiceUnavailableErrorResponse:
      type: object
      required:
      - error_code
      - statusCode
      - message
      - timestamp
      properties:
        error_code:
          type: string
          example: SERVICE_UNAVAILABLE
        statusCode:
          type: integer
          enum:
          - 503
        message:
          type: string
        timestamp:
          type: string
          format: date-time
    ErrorResponse:
      type: object
      required:
      - errorCode
      - message
      - jobId
      properties:
        errorCode:
          type: string
        message:
          type: string
        jobId:
          type: string
  parameters:
    jobId:
      name: jobId
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- nice-generic-storeandforward.json
- nice-generic-storeandforward-openapi.yml