Desktop plumbing: registers the device on the caller's case and stores its notes, linking any attachments already uploaded to S3. Returns how many notes were imported.
POST
/extraction/case/import-notes
curl \
--request POST 'http://api.example.com/extraction/case/import-notes' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"deviceId": "string",
"deviceType": "unknown",
"deviceMetadata": {},
"systemId": "string",
"appVersion": "string",
"osDetails": {
"arch": "string",
"platform": "string",
"version": "string",
"osType": "string",
"machine": "string",
"totalMemory": 42.0,
"cpus": {},
"extraInformation": {}
},
"notes": [
{
"id": 42.0,
"title": "string",
"summary": "string",
"createdAt": "string",
"modifiedAt": "string",
"htmlContent": "string",
"metadata": {},
"attachments": [
"string"
]
}
]
}'
Request examples
{
"deviceId": "string",
"deviceType": "unknown",
"deviceMetadata": {},
"systemId": "string",
"appVersion": "string",
"osDetails": {
"arch": "string",
"platform": "string",
"version": "string",
"osType": "string",
"machine": "string",
"totalMemory": 42.0,
"cpus": {},
"extraInformation": {}
},
"notes": [
{
"id": 42.0,
"title": "string",
"summary": "string",
"createdAt": "string",
"modifiedAt": "string",
"htmlContent": "string",
"metadata": {},
"attachments": [
"string"
]
}
]
}
Response examples (200)
{
"data": {
"message": "Done",
"isSuccess": true
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}