Skip to main content
POST
/
invites
/
evidence
/
download
Get a temporary download link for evidence
curl --request POST \
  --url https://cases.platform.arb.inc/invites/evidence/download \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "a1b2c3d4e5",
  "exhibitID": "22"
}
'
{
  "url": "https://files.example.com/download/abc123?sig=xyz&exp=1699999999",
  "validForSeconds": 900
}

Body

application/json
code
string
required

Invite code tied to the evidence request.

Example:

"a1b2c3d4e5"

exhibitID
string
required

Unique identifier of the evidence file.

Maximum string length: 36
Example:

"22"

Response

Temporary URL successfully generated.

url
string<uri>

The signed URL to download the file.

Example:

"https://files.example.com/download/abc123?sig=xyz&exp=1699999999"

validForSeconds
integer

Number of seconds the URL remains valid.

Example:

900