Skip to main content
POST
Create an attachment on an investigation

Authorizations

X-API-Key
string
header
required

Path Parameters

investigation_id
string
required

Identifies the investigation.

Body

file
string<uri>
required

Evidence file: image, PDF, office document, text, email or zip; at most 25 MB

description
string
default:""

Optional note on what the file shows

Maximum string length: 500

Response

201 - application/json
id
string<uuid>
required
read-only

Primary key

fileName
string
required
read-only

Sanitised file name as uploaded

contentType
string
required
read-only

MIME type derived from the validated extension

sizeBytes
integer
required
read-only

File size in bytes

checksumSha256
string
required
read-only

SHA-256 of the stored bytes, for integrity checks

description
string
required
read-only

Optional note on what the file shows

uploadedBy
integer
required
read-only

Unique identifier of the user

uploadedByName
string | null
required
read-only

Name, or email, of the uploader

uploadedAt
string<date-time>
required
read-only