Upload

Upload spreadsheet file

Upload a spreadsheet file for processing via CDP Uploader service.

The file will be:

  1. Uploaded to CDP Uploader staging area
  2. Scanned for viruses
  3. If clean, automatically transferred to Azure Blob Storage

Filenames are automatically timestamped: {original-name}_{timestamp}.{ext}

post/upload

Request

  • Base URL
    http://localhost:3000
  • URL
    http://localhost:3000/upload
  • Auth
    • API key in cookie session
    • or API key in header X-CSRF-Token

Request body multipart/form-data

filestring binary required

Spreadsheet file to upload (CSV, XLS, XLSX, ODS, XLSM, XLSB)

Response

File uploaded successfully

successboolean required
uploadIdstring uuid required

Unique identifier for this upload

filenamestring required

Timestamped filename stored in system

originalFilenamestring

Original filename from user

timestampstring date-time

Upload timestamp (ISO 8601)

messagestring required

Example response

{
  "success": true,
  "uploadId": "550e8400-e29b-41d4-a716-446655440000",
  "filename": "data_2025-09-30T12-00-00-000Z.xlsx",
  "originalFilename": "data.xlsx",
  "timestamp": "2025-09-30T12:00:00.000Z",
  "message": "File uploaded successfully and sent for virus scanning"
}

Changes

No recorded changes to this operation across all 1 revision of this API.