Get case file
200 Case file
object
A file attached to a case. Status-dependent fields are always present but may be null:
upload_url,upload_url_expires, andupload_constraintsare populated whenstatusisPENDINGorREJECTEDdownload_urlanddownload_url_expiresare populated whenstatusisREADYfailure_reasonis populated whenstatusisREJECTED
Parameters
token
uuid
required
Globally unique identifier for the filename
string
required
Name of the filemime_type
string | null
required
MIME type of the file, available once the file is readysize_bytes
int64 | null
required
Size of the file in bytes, available once the file is readystatus
string
enum
required
Lifecycle status of a case file:PENDING- An upload URL has been issued and the file is awaiting uploadREADY- The file has been uploaded and validated; a download URL is availableREJECTED- File validation failed; seefailure_reasonfor details
upload_url
string | null
required
Presigned URL the client uses to upload the fileupload_url_expires
date-time | null
required
Date and time at which the upload URL expiresupload_constraints
required
Constraints that the uploaded file must satisfydownload_url
string | null
required
Presigned URL the client uses to download the filedownload_url_expires
date-time | null
required
Date and time at which the download URL expiresfailure_reason
string | null
required
Reason the file was rejected, when applicablecreated
date-time
required
Date and time at which the file record was createdupdated
date-time
required
Date and time at which the file record was last updated
Example Response
{
"token": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"mime_type": "string",
"size_bytes": 0,
"status": "PENDING",
"upload_url": "string",
"upload_url_expires": "2026-07-18T00:25:55.829Z",
"upload_constraints": {
"accepted_mime_types": [
"string"
],
"max_size_bytes": 0
},
"download_url": "string",
"download_url_expires": "2026-07-18T00:25:55.829Z",
"failure_reason": "string",
"created": "2026-07-18T00:25:55.829Z",
"updated": "2026-07-18T00:25:55.829Z"
}