v66

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-042174421.1 MB
Transaction Monitoring

Create case file

Creates a file record and returns a presigned URL for uploading the file to the case.

post/v1/transaction_monitoring/cases/{case_token}/files

Path parameters

case_tokenstring uuid required

Globally unique identifier for the case.

Request body

namestring required

Name of the file to upload

Response

Case file

tokenstring uuid required

Globally unique identifier for the file

namestring required

Name of the file

mime_typestring nullable required

MIME type of the file, available once the file is ready

size_bytesinteger nullable required

Size of the file in bytes, available once the file is ready

status'PENDING' | 'READY' | 'REJECTED' required

Lifecycle status of a case file:

  • PENDING - An upload URL has been issued and the file is awaiting upload
  • READY - The file has been uploaded and validated; a download URL is available
  • REJECTED - File validation failed; see failure_reason for details
upload_urlstring nullable required

Presigned URL the client uses to upload the file

upload_url_expiresstring date-time nullable required

Date and time at which the upload URL expires

download_urlstring nullable required

Presigned URL the client uses to download the file

download_url_expiresstring date-time nullable required

Date and time at which the download URL expires

failure_reasonstring nullable required

Reason the file was rejected, when applicable

createdstring date-time required

Date and time at which the file record was created

updatedstring date-time required

Date and time at which the file record was last updated