Lists the entries of a collection in order, each with its device message, optionally filtered by text or tags.
Query parameters
-
Default value is
1. -
Default value is
10. -
If skip/limit not provided, page/perPage will take precedence
-
If skip/limit not provided, page/perPage will take precedence
-
Minimum length is
3, maximum length is100. -
Values are
message,whatsapp,voicemail,call_log,facebook_dump,instagram_dump,threads_dump, oremail. -
Values are
message,text,line_break, orcustom.
GET
/case/collections/{caseId}/{collectionId}/entries
curl \
--request GET 'http://api.example.com/case/collections/{caseId}/{collectionId}/entries' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "organization: string"
Response examples (200)
{
"data": {
"total": 42,
"page": 1,
"perPage": 20,
"skip": 0,
"limit": 20,
"totalPages": 3,
"nextPage": 2,
"previousPage": 42.0,
"data": [
{
"deviceMessage": {
"text": "See you at 6",
"tags": [
{
"name": "Important",
"nameLowercase": "important"
}
],
"deviceType": "ios",
"sender": {
"fullName": "Jane Doe",
"firstName": "Jane",
"phoneNational": [
"(555) 555-0100"
],
"avatar": {
"name": "IMG_0001.HEIC",
"convertedName": "IMG_0001_display.png",
"transferState": 5,
"totalBytes": 2483120
},
"initials": "JD",
"isEdited": false
},
"receiver": {
"fullName": "Jane Doe",
"firstName": "Jane",
"phoneNational": [
"(555) 555-0100"
],
"avatar": {
"name": "IMG_0001.HEIC",
"convertedName": "IMG_0001_display.png",
"transferState": 5,
"totalBytes": 2483120
},
"initials": "JD",
"isEdited": false
},
"isEmpty": false,
"iMessageType": "na",
"isFromMe": true,
"isDelivered": true,
"isDeleted": false,
"isMissingMedia": false,
"isSystemMessage": false,
"attachment": {
"name": "IMG_0001.HEIC",
"convertedName": "IMG_0001_display.png",
"transferState": 5,
"totalBytes": 2483120
},
"additionalAttachments": [
{
"name": "IMG_0001.HEIC",
"convertedName": "IMG_0001_display.png",
"transferState": 5,
"totalBytes": 2483120
}
],
"date": "2026-01-15T14:30:00.000Z",
"sentAt": "2026-01-15T14:30:00.000Z",
"readAt": "2026-01-15T14:30:00.000Z",
"deletedAt": "2026-05-04T09:42:00Z",
"recoveredAt": "2026-05-04T09:42:00Z",
"parentMessageText": "Are we still on for dinner?",
"parentMessageAttachment": {
"name": "IMG_0001.HEIC",
"convertedName": "IMG_0001_display.png",
"transferState": 5,
"totalBytes": 2483120
},
"parentMessageIndex": 41,
"service": "iMessage",
"mimeType": "image/jpeg",
"editHistory": [
{
"date": "2026-01-15T14:30:00.000Z",
"text": "See you at 7"
}
],
"deletedMessagesLogs": {
"total": 2,
"minDate": "2026-01-15T14:05:00.000Z",
"maxDate": "2026-01-15T14:20:00.000Z",
"deletedMessages": []
},
"commentsCount": 2,
"lastCommentByUserInitials": "JD",
"lastCommentByUserAvatarUrl": "https://files.example.com/avatars/jane-doe.png",
"messageIndex": 42,
"attachedTags": [
{
"tagId": "507f1f77bcf86cd799439011",
"tag": "Important",
"addedBy": "user",
"addedById": "507f1f77bcf86cd799439012",
"removedAt": "2026-05-04T09:42:00Z",
"removedBy": "user",
"removedById": "string"
}
],
"ocSharedStatus": "shared",
"collectionCount": 1,
"durationInSeconds": 32,
"callDurationInSeconds": 125,
"callType": "incoming",
"callSource": "phone"
},
"text": "Key admission",
"customType": "string",
"customValue": "string",
"position": 0,
"type": "message"
}
]
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}