Skip to main content
POST
/
api
/
cases
/
bulk_documents
Bulk upload documents to multiple cases
curl --request POST \
  --url http://localhost/api/api/cases/bulk_documents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "case_ids": [
    123
  ],
  "name": "<string>",
  "document": "<string>"
}
'
"<unknown>"

Authorizations

Authorization
string
header
required

JWT token obtained from AWS Cognito or custom authentication service

Body

case_ids
integer[]
required

List of case IDs (can be JSON string for multipart data)

name
string
required

Document name

Minimum string length: 1
document
file
required

Document file to upload

Response

200 - application/json

Documents uploaded successfully.