Desktop plumbing: registers the device on the caller's case and stores the given call-log conversations and their calls. Returns how many conversations and messages were imported.
POST
/extraction/case/import-call-logs
curl \
--request POST 'http://api.example.com/extraction/case/import-call-logs' \
--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": {}
},
"conversations": [
{
"id": {},
"guid": "string",
"chatName": "string",
"displayName": "string",
"name": "string",
"number": "string",
"lastMessageId": {},
"date": {},
"contacts": [
{
"id": {},
"fullName": "string",
"name": "string",
"first": "string",
"middle": "string",
"last": "string",
"email": "string",
"address": "string",
"city": "string",
"country": "string",
"phoneNumbers": "string",
"iphone": "string",
"phoneWork": "string",
"phoneMobile": "string",
"phoneHome": "string",
"profileImagePath": "string"
}
],
"sendersNotInContact": [
"string"
],
"messages": [
{
"id": {},
"duration": {},
"date": "string",
"sender": "string",
"address": "string",
"callSource": "string",
"contact": {},
"isFromMe": true,
"isDelivered": true,
"isDeleted": true,
"isArchive": true,
"isFinished": true,
"isSpam": true,
"isSticker": true,
"isEmpty": true
}
]
}
]
}'
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": {}
},
"conversations": [
{
"id": {},
"guid": "string",
"chatName": "string",
"displayName": "string",
"name": "string",
"number": "string",
"lastMessageId": {},
"date": {},
"contacts": [
{
"id": {},
"fullName": "string",
"name": "string",
"first": "string",
"middle": "string",
"last": "string",
"email": "string",
"address": "string",
"city": "string",
"country": "string",
"phoneNumbers": "string",
"iphone": "string",
"phoneWork": "string",
"phoneMobile": "string",
"phoneHome": "string",
"profileImagePath": "string"
}
],
"sendersNotInContact": [
"string"
],
"messages": [
{
"id": {},
"duration": {},
"date": "string",
"sender": "string",
"address": "string",
"callSource": "string",
"contact": {},
"isFromMe": true,
"isDelivered": true,
"isDeleted": true,
"isArchive": true,
"isFinished": true,
"isSpam": true,
"isSticker": true,
"isEmpty": true
}
]
}
]
}
Response examples (200)
{
"data": {
"message": "Done",
"isSuccess": true
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}