Skip to main content
POST
/
cases
/
{caseId}
/
files
Generate file upload URLs for a case
curl --request POST \
  --url https://api.uk.veridox.ai/cases/{caseId}/files \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "file_labels": [
    "<string>"
  ]
}
'
{
  "files": [
    {
      "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "label": "<string>",
      "sas_url": "<string>",
      "expires_at": "2023-11-07T05:31:56Z"
    }
  ]
}
Generate pre-signed upload URLs for adding files to an existing case. This endpoint allows you to upload additional files to cases that have already been created, as long as the case is not locked.
Case Locking: Once you start uploading files to a case, the case becomes locked and you cannot add more files later. Upload all files you need in a single batch.

When to Use This Endpoint

Use Case Creation Upload (POST /cases)

  • When creating a new case with initial files.
  • For the first batch of files in a case.
  • When you know all files upfront.

Use Additional File Upload (POST /cases/{caseId}/files)

  • When adding files to existing unlocked cases.
  • For supplementary documents after initial case creation.
  • When file requirements change during the process.

Authorizations

x-api-key
string
header
required

Path Parameters

caseId
string
required

Case ID

Body

application/json
file_labels
string[]
required
Minimum array length: 1
Required string length: 1 - 255

Response

SAS URLs generated successfully

files
object[]
required