Overview
Attachments in Corsa can be linked to multiple entity types:| Entity Type | Value |
|---|---|
| Client | client |
| Transaction | transaction |
| Alert | alert |
| Case | case |
| Report | report |
| Comment | comment |
| Checklist Item | checklist_item |
Step 1: Upload Files
Endpoint:POST /v1/attachments/upload
Upload files directly and associate them with an entity. Files are sent as multipart form data.
Constraints
- Maximum file size: 5 MB per file
- Maximum files per request: 10
Step 2: Create from External URL
Endpoint:POST /v1/attachments/external-document
If your documents are hosted externally (e.g., in your own storage or a vendor system), create attachment records by providing a download URL.
Source Values
| Source | Description |
|---|---|
CHECKLIST | Attached via a checklist workflow |
DOCUMENT_REPOSITORY | From a document management system |
DISCUSSION | Attached in a discussion / comment |
ISSUE_DECISION | Part of an issue decision |
EXTERNAL | From an external system |
Step 3: Relate Attachments to Entities
Endpoint:POST /v1/attachments/relate
Link existing attachments to a new entity. This is useful when the same document is relevant to multiple entities (e.g., a report that applies to both an alert and a case).
You can relate up to 100 attachments in a single request.
Step 4: Retrieve Attachments
List Attachments for an Entity
Endpoint:GET /v1/attachments
Get Download URLs
Endpoint:GET /v1/attachments/download-urls
Retrieve signed download URLs for specific attachments.
Step 5: Update & Delete Attachments
Update an Attachment
Endpoint:PUT /v1/attachments/{attachmentId}
Delete an Attachment
Endpoint:DELETE /v1/attachments/{attachmentId}
What’s Next?
Ingest Alerts & Cases
Push external alerts and create investigation cases.
Manage Alerts & Cases
Batch create, bulk assign, and update alerts and cases.