Skip to main content
POST
/
evidence
/
uploads
/
create
Upload evidence to a case
curl --request POST \
  --url https://api.platform.arb.inc/evidence/uploads/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form caseID=2025-08-00123 \
  --form 'description=Photo from the incident on May 5, 2025' \
  --form file='@example-file' \
  --form makePublic=true
{
  "uploadID": "12"
}

Authorizations

Authorization
string
header
required

access token

Body

multipart/form-data
caseID
string
required

ID of the case to attach the evidence to. Must be sent before the file part.

Example:

"2025-08-00123"

description
string
required

Short description of the evidence. Must be sent before the file part.

Example:

"Photo from the incident on May 5, 2025"

file
file
required

The evidence file to upload (single file only).

Example:

"(binary file contents)"

makePublic
enum<string>

Whether to immediately add the evidence to the docket before the evidence exchange phase.

Available options:
true,
false
Example:

"true"

Response

Evidence successfully uploaded.

uploadID
string

ID of the created evidence upload.

Example:

"12"