Skip to main content
POST
/
files
/
attach
POST /files/attach
curl --request POST \
  --url https://api.indoralabs.com/files/attach \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "caseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "fileIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "ok": true
}

Authorizations

x-api-key
string
header
required

Body

application/json
caseId
string<uuid>
required

The case ID to attach files to.

fileIds
string<uuid>[]
required

List of file IDs to attach.

Response

Files successfully attached to case.

ok
boolean
Example:

true