Upload

CDP Uploader callback

Callback endpoint for CDP Uploader service to notify about virus scan results.

Security: Requires Bearer token authentication.

When a file passes virus scan (status: clean), it is automatically transferred to Azure Blob Storage in the background.

post/upload/callback

Request

  • Base URL
    http://localhost:3000
  • URL
    http://localhost:3000/upload/callback
  • Auth
    HTTP bearer

Request body

uploadIdstring uuid required

Upload identifier

status'clean' | 'infected' | 'error'

Overall status

virusScanStatus'clean' | 'infected' | 'error' required

Virus scan result

processedAtstring date-time

When CDP finished processing

Example request

{
  "uploadId": "550e8400-e29b-41d4-a716-446655440000",
  "status": "clean",
  "virusScanStatus": "clean",
  "processedAt": "2025-09-30T12:05:00.000Z"
}

Response

Callback processed successfully

successboolean
messagestring

Example response

{
  "success": true
}

Changes

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