Accepts an invitation using the token from the invite email. Public: no sign-in needed. A new invitee must send name and password; their account is created and login carries their session.
POST
/case/access/{orgId}/case/{caseId}/invitation/accept
curl \
--request POST 'http://api.example.com/case/access/{orgId}/case/{caseId}/invitation/accept' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"token": "string",
"email": "string",
"name": "string",
"password": "string"
}'
Request examples
{
"token": "string",
"email": "string",
"name": "string",
"password": "string"
}
Response examples (201)
{
"data": {
"login": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NWExYjJjMyJ9.c2lnbmF0dXJl",
"refreshToken": "b7c1e2f0a9d84c3e8f6a5b4c3d2e1f00",
"userProfile": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": [
"+15555550100"
],
"isActive": true,
"isEmailVerified": true,
"lastActive": "2026-01-15T14:30:00.000Z",
"roles": [
"user"
],
"avatar": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"onboardingStatus": "completed",
"userType": "attorney",
"firstName": "Jane",
"lastName": "Doe",
"initials": "JD",
"userOrganizations": [
{
"organization": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Example Law LLP",
"slug": "example-law-llp",
"email": "office@example.com",
"contact": "Jane Doe",
"city": "New York",
"state": "NY",
"country": "US",
"description": "Litigation practice",
"phone": [
"+15555550100"
],
"logo": "https://files.example.com/logo.png",
"isActive": true,
"isPriority": false,
"activePlan": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"subscription": {},
"relatedSubscription": [
{}
],
"organization": {},
"seats": 5,
"seatsUsed": 3,
"devices": 10,
"deviceUsed": 4,
"storage": 100000000000,
"storageUsed": 12000000000,
"payments": [
{}
],
"type": "admin",
"isActive": true,
"isBetweenPlanChanges": false,
"storageInKb": 100000000,
"storageUsedInKb": 12000000,
"storageInMb": 100000,
"storageUsedInMb": 12000,
"storageInGb": 100,
"storageUsedInGb": 12,
"storageInTb": 0.1,
"storageUsedInTb": 0.012,
"isFreePlan": false,
"remainingSeats": 2,
"remainingDevices": 6,
"remainingStorage": 88000000000
},
"metadata": {},
"type": "law_firm",
"version": "v1"
},
"permission": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"user": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": [
"+15555550100"
],
"isActive": true,
"isEmailVerified": true,
"lastActive": "2026-01-15T14:30:00.000Z",
"roles": [
"user"
],
"avatar": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"onboardingStatus": "completed",
"userType": "attorney",
"firstName": "Jane",
"lastName": "Doe",
"initials": "JD",
"userOrganizations": [
{}
]
},
"role": "member",
"organization": {},
"lastActiveAt": "2026-01-15T14:30:00.000Z"
},
"billing": {
"tier": "firm",
"tierName": "Firm",
"billingMode": "per-source",
"cadence": "monthly",
"baseFeeCents": 24900,
"paymentMethodOnFile": true,
"supportTier": "next-day",
"limits": {
"seatCap": 10,
"storageGB": 5000,
"perCaseSourceCap": 42.0
},
"features": [
"rsmf",
"ai",
"mcp",
"whiteLabel"
],
"prices": [
{
"skuKey": "collection.phone",
"name": "Phone collection",
"unitAmountCents": 17900,
"included": false,
"listAmountCents": 42.0,
"overridden": false,
"recurrence": "monthly",
"freeFirstPeriod": false
}
],
"overrides": {
"skuUnitAmountCents": {
"collection.phone": 9900
}
}
}
}
]
},
"appConfig": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"systemId": "3f8e1c5a9b2d4e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f",
"deviceSettings": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"systemId": "3f8e1c5a9b2d4e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f",
"deviceId": "00008110-001A2B3C4D5E",
"deviceType": "unknown",
"backupPaths": [
"/Users/jane/HearsayBackups"
],
"defaultBackupPath": "/Users/jane/HearsayBackups",
"lastUsedBackupPath": "/Users/jane/HearsayBackups",
"device": "507f1f77bcf86cd799439011",
"lastBackupAt": "2026-01-15T14:30:00.000Z",
"lastLocalBackupAt": "2026-01-15T14:30:00.000Z",
"autoBackupFrequency": "none",
"deviceMetadata": {
"name": "Jane Doe's iPhone",
"productType": "iPhone15,2",
"productVersion": "17.4.1",
"timeZone": "America/Chicago"
},
"otherSettings": {}
}
],
"defaultBackupPath": "/Users/jane/HearsayBackups",
"lastUsedBackupPath": "/Users/jane/HearsayBackups",
"otherSettings": {},
"osDetails": {
"arch": "arm64",
"platform": "darwin",
"version": "14.4",
"type": "Darwin",
"osType": "Darwin",
"machine": "arm64",
"totalMemory": 17179869184,
"cpus": {},
"extraInformation": {
"cpu": {
"manufacturer": "Apple",
"brand": "M2",
"physicalCores": 8
},
"mem": {
"total": 17179869184
},
"osInfo": {
"platform": "darwin",
"distro": "macOS",
"release": "14.4",
"arch": "arm64"
},
"battery": {
"hasBattery": true,
"percent": 80
}
}
},
"lastAppUsedAt": "2026-01-15T14:30:00.000Z",
"lastUsedAppVersion": "2.1.15",
"defaultSettings": {
"contactAdminDeviceRequestText": "Please add another device to my account."
}
},
"extractionCodeDetails": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"code": "K7Q2-9XPL",
"email": "jane.doe@example.com",
"name": "Jane Doe",
"phone": "+15555550100",
"isActive": true,
"label": "Primary phone",
"config": {
"type": "allow_client",
"origin": "Website",
"ignoreMediaPermissionAndroid": false,
"dateRange": {
"start": "2026-05-04T09:42:00Z",
"end": "2026-05-04T09:42:00Z"
},
"appConfig": {
"conversionConcurrency": [
{
"mediaType": "images",
"concurrency": [
4,
6,
12,
16
]
}
],
"compressionConcurrency": [
{
"mediaType": "images",
"concurrency": [
4,
6,
12,
16
]
}
],
"enableLocalMediaConversion": true,
"enableLocalMediaCompression": true,
"enableIosEncryptedBackupExtraction": false,
"allowOnlyEncryptedIosBackup": false,
"autoIncludeSafariData": false,
"autoIncludeNotesData": false,
"autoIncludeContacts": false,
"shareAction": "share"
},
"enableLocalExport": {
"formats": [
"pdf"
],
"defaultConfig": {
"chunkType": "year",
"includeAttachments": true
}
},
"allowClient": {
"allowSocialApps": [
"whatsapp"
],
"allowShareAll": false
},
"autoShare": {
"allowClientApproval": false,
"allowAdditionalShare": false,
"searches": [
{
"type": "name",
"values": [
"Jane Doe"
],
"apps": [
"whatsapp"
],
"dateRange": {
"start": "2026-05-04T09:42:00Z",
"end": "2026-05-04T09:42:00Z"
},
"exactMatch": false,
"include": true,
"conversationType": "all"
}
]
},
"shareAll": {
"apps": [
"whatsapp"
],
"includeAttachments": true,
"dateRange": {
"start": "2026-05-04T09:42:00Z",
"end": "2026-05-04T09:42:00Z"
},
"searchesExclude": [
{
"type": "name",
"values": [
"Jane Doe"
],
"apps": [
"whatsapp"
],
"exactMatch": false,
"conversationType": "all"
}
]
}
},
"devices": [
{}
],
"totalDevicesCount": 1,
"dueDate": "2026-01-15T14:30:00.000Z",
"sendEmail": true,
"lockedAt": "2026-05-04T09:42:00Z",
"hasDueDateCrossed": false,
"status": "pending",
"reviewStatus": "approved",
"reviewMessage": "string",
"lastApprovedBy": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": [
"+15555550100"
],
"isActive": true,
"isEmailVerified": true,
"lastActive": "2026-01-15T14:30:00.000Z",
"roles": [
"user"
],
"avatar": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"onboardingStatus": "completed",
"userType": "attorney",
"firstName": "Jane",
"lastName": "Doe",
"initials": "JD",
"userOrganizations": [
{}
]
},
"ocReviewedByOrg": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Example Law LLP",
"slug": "example-law-llp",
"email": "office@example.com",
"contact": "Jane Doe",
"city": "New York",
"state": "NY",
"country": "US",
"description": "Litigation practice",
"phone": [
"+15555550100"
],
"logo": "https://files.example.com/logo.png",
"isActive": true,
"isPriority": false,
"activePlan": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"subscription": {},
"relatedSubscription": [
{}
],
"organization": {},
"seats": 5,
"seatsUsed": 3,
"devices": 10,
"deviceUsed": 4,
"storage": 100000000000,
"storageUsed": 12000000000,
"payments": [
{}
],
"type": "admin",
"isActive": true,
"isBetweenPlanChanges": false,
"storageInKb": 100000000,
"storageUsedInKb": 12000000,
"storageInMb": 100000,
"storageUsedInMb": 12000,
"storageInGb": 100,
"storageUsedInGb": 12,
"storageInTb": 0.1,
"storageUsedInTb": 0.012,
"isFreePlan": false,
"remainingSeats": 2,
"remainingDevices": 6,
"remainingStorage": 88000000000
},
"metadata": {},
"type": "law_firm",
"version": "v1"
},
"ocReviewedAt": "2026-05-04T09:42:00Z",
"ocRequired": true,
"allowShareAll": false,
"metadata": {},
"logsConfig": {},
"sources": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"case": {},
"extractionCode": {},
"dataSource": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "gmail",
"displayName": "Gmail",
"category": "email",
"config": {
"iosEnableEncryptedBackup": true,
"iosAllowOnlyEncryptedBackup": false,
"iosAllApps": [
"messages",
"call_log",
"whatsapp",
"photos"
],
"iosAllowedApps": [
"messages",
"call_log"
]
}
},
"caseDataSource": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"case": {},
"dataSource": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "gmail",
"displayName": "Gmail",
"category": "email",
"config": {
"iosEnableEncryptedBackup": true,
"iosAllowOnlyEncryptedBackup": false,
"iosAllApps": [
"messages",
"call_log",
"whatsapp",
"photos"
],
"iosAllowedApps": [
"messages",
"call_log"
]
}
},
"config": {
"iosEnableEncryptedBackup": true,
"iosAllowOnlyEncryptedBackup": false,
"iosAutoIncludeSafariData": true,
"iosAutoIncludeNotesData": false,
"iosAllowedApps": [
"messages",
"call_log",
"whatsapp"
]
}
},
"config": {
"iosEnableEncryptedBackup": true,
"iosAllowOnlyEncryptedBackup": false,
"iosAllApps": [
"messages",
"call_log",
"whatsapp",
"photos"
],
"iosAllowedApps": [
"messages",
"call_log"
]
}
}
],
"payment": {}
},
"caseDetails": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Doe v. Example Corp",
"slug": "doe-v-example-corp",
"description": "Employment dispute",
"matterId": "MAT-0042",
"status": "open",
"assignStatus": "assigned",
"createdBy": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": [
"+15555550100"
],
"isActive": true,
"isEmailVerified": true,
"lastActive": "2026-01-15T14:30:00.000Z",
"roles": [
"user"
],
"avatar": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"onboardingStatus": "completed",
"userType": "attorney",
"firstName": "Jane",
"lastName": "Doe",
"initials": "JD",
"userOrganizations": [
{}
]
},
"assignedTo": [
"507f1f77bcf86cd799439011"
],
"organization": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Example Law LLP",
"slug": "example-law-llp",
"email": "office@example.com",
"contact": "Jane Doe",
"city": "New York",
"state": "NY",
"country": "US",
"description": "Litigation practice",
"phone": [
"+15555550100"
],
"logo": "https://files.example.com/logo.png",
"isActive": true,
"isPriority": false,
"activePlan": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"subscription": {},
"relatedSubscription": [
{}
],
"organization": {},
"seats": 5,
"seatsUsed": 3,
"devices": 10,
"deviceUsed": 4,
"storage": 100000000000,
"storageUsed": 12000000000,
"payments": [
{}
],
"type": "admin",
"isActive": true,
"isBetweenPlanChanges": false,
"storageInKb": 100000000,
"storageUsedInKb": 12000000,
"storageInMb": 100000,
"storageUsedInMb": 12000,
"storageInGb": 100,
"storageUsedInGb": 12,
"storageInTb": 0.1,
"storageUsedInTb": 0.012,
"isFreePlan": false,
"remainingSeats": 2,
"remainingDevices": 6,
"remainingStorage": 88000000000
},
"metadata": {},
"type": "law_firm",
"version": "v1"
},
"isActive": true,
"priority": "medium",
"attachedDevices": [
"507f1f77bcf86cd799439012"
],
"totalConversations": 128,
"archivedBy": {},
"exportJobId": "job-1234",
"metadata": {},
"extractionCodePaymentThreadId": "string",
"ocCase": false,
"isOcShared": false,
"proEnabled": false,
"isArchived": false
},
"collectionEventsEnabled": true
},
"case": {
"case": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Doe v. Example Corp",
"slug": "doe-v-example-corp",
"description": "Employment dispute",
"matterId": "MAT-0042",
"status": "open",
"assignStatus": "assigned",
"createdBy": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": [
"+15555550100"
],
"isActive": true,
"isEmailVerified": true,
"lastActive": "2026-01-15T14:30:00.000Z",
"roles": [
"user"
],
"avatar": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"onboardingStatus": "completed",
"userType": "attorney",
"firstName": "Jane",
"lastName": "Doe",
"initials": "JD",
"userOrganizations": [
{}
]
},
"assignedTo": [
"507f1f77bcf86cd799439011"
],
"organization": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Example Law LLP",
"slug": "example-law-llp",
"email": "office@example.com",
"contact": "Jane Doe",
"city": "New York",
"state": "NY",
"country": "US",
"description": "Litigation practice",
"phone": [
"+15555550100"
],
"logo": "https://files.example.com/logo.png",
"isActive": true,
"isPriority": false,
"activePlan": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"subscription": {},
"relatedSubscription": [
{}
],
"organization": {},
"seats": 5,
"seatsUsed": 3,
"devices": 10,
"deviceUsed": 4,
"storage": 100000000000,
"storageUsed": 12000000000,
"payments": [
{}
],
"type": "admin",
"isActive": true,
"isBetweenPlanChanges": false,
"storageInKb": 100000000,
"storageUsedInKb": 12000000,
"storageInMb": 100000,
"storageUsedInMb": 12000,
"storageInGb": 100,
"storageUsedInGb": 12,
"storageInTb": 0.1,
"storageUsedInTb": 0.012,
"isFreePlan": false,
"remainingSeats": 2,
"remainingDevices": 6,
"remainingStorage": 88000000000
},
"metadata": {},
"type": "law_firm",
"version": "v1"
},
"isActive": true,
"tags": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Important",
"nameLowercase": "important",
"backgroundColor": "#FDE68A",
"textColor": "#92400E",
"type": "system",
"severity": "info",
"origin": "manual",
"creatorAccessType": "org",
"isActive": true
}
],
"priority": "medium",
"attachedDevices": [
"507f1f77bcf86cd799439012"
],
"integrations": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"integrationType": "clio",
"attachedAt": "2026-01-15T14:30:00.000Z",
"remoteCaseId": "1234567890",
"remoteCaseName": "Doe v. Example Corp"
}
],
"totalConversations": 128,
"archivedBy": {},
"exportJobId": "job-1234",
"metadata": {},
"extractionCodePaymentThreadId": "string",
"attachedTags": [
{
"tagId": "507f1f77bcf86cd799439011",
"tag": "Important",
"addedBy": "user",
"addedById": "507f1f77bcf86cd799439012",
"removedAt": "2026-05-04T09:42:00Z",
"removedBy": "user",
"removedById": "string"
}
],
"ocCase": false,
"isOcShared": false,
"proEnabled": false,
"isArchived": false
},
"access": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"user": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": [
"+15555550100"
],
"isActive": true,
"isEmailVerified": true,
"lastActive": "2026-01-15T14:30:00.000Z",
"roles": [
"user"
],
"avatar": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"onboardingStatus": "completed",
"userType": "attorney",
"firstName": "Jane",
"lastName": "Doe",
"initials": "JD",
"userOrganizations": [
{}
]
},
"invitedBy": {},
"case": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Doe v. Example Corp",
"slug": "doe-v-example-corp",
"description": "Employment dispute",
"matterId": "MAT-0042",
"status": "open",
"assignStatus": "assigned",
"createdBy": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": [
"+15555550100"
],
"isActive": true,
"isEmailVerified": true,
"lastActive": "2026-01-15T14:30:00.000Z",
"roles": [
"user"
],
"avatar": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"onboardingStatus": "completed",
"userType": "attorney",
"firstName": "Jane",
"lastName": "Doe",
"initials": "JD",
"userOrganizations": [
{}
]
},
"assignedTo": [
"507f1f77bcf86cd799439011"
],
"organization": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Example Law LLP",
"slug": "example-law-llp",
"email": "office@example.com",
"contact": "Jane Doe",
"city": "New York",
"state": "NY",
"country": "US",
"description": "Litigation practice",
"phone": [
"+15555550100"
],
"logo": "https://files.example.com/logo.png",
"isActive": true,
"isPriority": false,
"activePlan": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"subscription": {},
"relatedSubscription": [
{}
],
"organization": {},
"seats": 5,
"seatsUsed": 3,
"devices": 10,
"deviceUsed": 4,
"storage": 100000000000,
"storageUsed": 12000000000,
"payments": [
{}
],
"type": "admin",
"isActive": true,
"isBetweenPlanChanges": false,
"storageInKb": 100000000,
"storageUsedInKb": 12000000,
"storageInMb": 100000,
"storageUsedInMb": 12000,
"storageInGb": 100,
"storageUsedInGb": 12,
"storageInTb": 0.1,
"storageUsedInTb": 0.012,
"isFreePlan": false,
"remainingSeats": 2,
"remainingDevices": 6,
"remainingStorage": 88000000000
},
"metadata": {},
"type": "law_firm",
"version": "v1"
},
"isActive": true,
"tags": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Important",
"nameLowercase": "important",
"backgroundColor": "#FDE68A",
"textColor": "#92400E",
"type": "system",
"severity": "info",
"origin": "manual",
"creatorAccessType": "org",
"isActive": true
}
],
"priority": "medium",
"attachedDevices": [
"507f1f77bcf86cd799439012"
],
"integrations": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"integrationType": "clio",
"attachedAt": "2026-01-15T14:30:00.000Z",
"remoteCaseId": "1234567890",
"remoteCaseName": "Doe v. Example Corp"
}
],
"totalConversations": 128,
"archivedBy": {},
"exportJobId": "job-1234",
"metadata": {},
"extractionCodePaymentThreadId": "string",
"attachedTags": [
{
"tagId": "507f1f77bcf86cd799439011",
"tag": "Important",
"addedBy": "user",
"addedById": "507f1f77bcf86cd799439012",
"removedAt": "2026-05-04T09:42:00Z",
"removedBy": "user",
"removedById": "string"
}
],
"ocCase": false,
"isOcShared": false,
"proEnabled": false,
"isArchived": false
},
"organization": {},
"status": "active",
"level": "admin",
"accessGrantedAt": "2026-01-15T14:30:00.000Z",
"accessRevokedAt": "2026-05-04T09:42:00Z",
"lastAccessedAt": "2026-01-16T09:12:00.000Z",
"isActive": true,
"isOnline": false
},
"usersWithAccess": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"user": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": [
"+15555550100"
],
"isActive": true,
"isEmailVerified": true,
"lastActive": "2026-01-15T14:30:00.000Z",
"roles": [
"user"
],
"avatar": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"onboardingStatus": "completed",
"userType": "attorney",
"firstName": "Jane",
"lastName": "Doe",
"initials": "JD",
"userOrganizations": [
{}
]
},
"status": "active",
"level": "admin",
"lastAccessedAt": "2026-01-16T09:12:00.000Z"
}
],
"conversations": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"messageSharing": {
"sharedMessageCount": 320,
"totalMessageCount": 1200,
"totalReportedAt": "2026-01-15T14:30:00.000Z"
},
"selectionCoverage": {
"app": "message",
"conversationId": 42,
"mode": "selected_messages",
"selectedMessageCount": 320,
"eligibleMessageCount": 1200,
"includedMessageCount": 320,
"omittedEligibleMessageCount": 880,
"selectedNotIncludedCount": 0,
"totalMessageCount": 1200,
"deviceConversation": "507f1f77bcf86cd799439011",
"ingestionStatus": "completed",
"ingestedMessageCount": 320,
"verifiedAt": "2026-01-15T14:30:00.000Z",
"completedAt": "2026-01-15T14:30:00.000Z",
"failedAt": null,
"isPartial": true,
"coverage": "selected_messages",
"eligibleScope": "after_date_and_incremental_filters",
"uploadAttemptId": "a3e6a3ab-2c6e-469c-a3ae-ab1e926c93c2",
"deviceBackupId": "65a1b2c3d4e5f6a7b8c9d0e2",
"reportOrder": "2026-01-15T14:30:00.000Z:65a1b2c3d4e5f6a7b8c9d0e2"
},
"name": "Jane Doe",
"displayName": "Conversation with Jane Doe",
"chatName": "+15555550100",
"originalDisplayName": "Jane Doe",
"source": "message",
"linkedContacts": [
{}
],
"device": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"deviceId": "3F2504E0-4F89-11D3-9A0C-0305E82C3301",
"serialNumber": "F2LXK0QJHG7F",
"name": "Jane's iPhone",
"type": "ios",
"nonDeviceType": "string",
"model": "iPhone 15",
"timeZone": "America/New_York",
"osVersion": "18.0",
"owner": {},
"devicePhoneNumber": "+15555550100",
"organizations": [
"507f1f77bcf86cd799439011"
],
"extractionCodes": [
"507f1f77bcf86cd799439013"
],
"availableData": {
"messages": true,
"calls": false
}
},
"avatar": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"service": "iMessage",
"lastMessageText": "See you at 6",
"firstMessageDate": "2025-03-01T09:00:00.000Z",
"lastMessageDate": "2026-01-15T14:30:00.000Z",
"displayNameEditedAt": "2026-05-04T09:42:00Z",
"lastMessageExternalId": "58231",
"isGroup": false,
"owner": {},
"isReadonly": false,
"lastExportedAt": "2026-05-04T09:42:00Z",
"messagesCount": 320,
"archivedBy": {},
"archivedAt": "2026-05-04T09:42:00Z",
"starredAt": "2026-05-04T09:42:00Z",
"tags": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Important",
"nameLowercase": "important",
"backgroundColor": "#FDE68A",
"textColor": "#92400E",
"type": "system",
"severity": "info",
"origin": "manual",
"creatorAccessType": "org",
"isActive": true
}
],
"attachedTags": [
{
"tagId": "507f1f77bcf86cd799439011",
"tag": "Important",
"addedBy": "user",
"addedById": "507f1f77bcf86cd799439012",
"removedAt": "2026-05-04T09:42:00Z",
"removedBy": "user",
"removedById": "string"
}
],
"isPlaceholder": false,
"isArchived": false,
"isStarred": false,
"hasAllAttachmentProcessed": true,
"processedAttachmentCount": 12,
"conversationName": "Conversation with Jane Doe",
"isNameEdited": false,
"participantCount": 2
}
],
"noOfBackups": 2,
"pendingUsersInitials": [
"JD"
],
"usersWithPendingAccess": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"invitedUserEmail": "jane.doe@example.com",
"invitedUserName": "Jane Doe",
"invitedBy": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": [
"+15555550100"
],
"isActive": true,
"isEmailVerified": true,
"lastActive": "2026-01-15T14:30:00.000Z",
"roles": [
"user"
],
"avatar": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"onboardingStatus": "completed",
"userType": "attorney",
"firstName": "Jane",
"lastName": "Doe",
"initials": "JD",
"userOrganizations": [
{}
]
},
"organization": {},
"case": {},
"invitedUserRole": "member",
"status": "pending",
"emailSent": true,
"emailSentAt": "2026-01-15T14:30:00.000Z",
"acceptedAt": "2026-05-04T09:42:00Z",
"acceptedBy": {},
"invitedUser": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": [
"+15555550100"
],
"isActive": true,
"isEmailVerified": true,
"lastActive": "2026-01-15T14:30:00.000Z",
"roles": [
"user"
],
"avatar": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"onboardingStatus": "completed",
"userType": "attorney",
"firstName": "Jane",
"lastName": "Doe",
"initials": "JD",
"userOrganizations": [
{}
]
},
"rejectedAt": "2026-05-04T09:42:00Z",
"rejectedReason": "Not involved in this matter",
"initials": "JD"
}
],
"noOfMembers": 4,
"noOfPendingUsers": 1,
"exportCount": 3,
"conversationsCount": 128,
"extractionCodes": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"code": "K7Q2-9XPL",
"email": "jane.doe@example.com",
"name": "Jane Doe",
"phone": "+15555550100",
"isActive": true,
"label": "Primary phone",
"config": {
"type": "allow_client",
"origin": "Website",
"ignoreMediaPermissionAndroid": false,
"dateRange": {
"start": "2026-05-04T09:42:00Z",
"end": "2026-05-04T09:42:00Z"
},
"appConfig": {
"conversionConcurrency": [
{
"mediaType": "images",
"concurrency": [
4,
6,
12,
16
]
}
],
"compressionConcurrency": [
{
"mediaType": "images",
"concurrency": [
4,
6,
12,
16
]
}
],
"enableLocalMediaConversion": true,
"enableLocalMediaCompression": true,
"enableIosEncryptedBackupExtraction": false,
"allowOnlyEncryptedIosBackup": false,
"autoIncludeSafariData": false,
"autoIncludeNotesData": false,
"autoIncludeContacts": false,
"shareAction": "share"
},
"enableLocalExport": {
"formats": [
"pdf"
],
"defaultConfig": {
"chunkType": "year",
"includeAttachments": true
}
},
"allowClient": {
"allowSocialApps": [
"whatsapp"
],
"allowShareAll": false
},
"autoShare": {
"allowClientApproval": false,
"allowAdditionalShare": false,
"searches": [
{
"type": "name",
"values": [
"Jane Doe"
],
"apps": [
"whatsapp"
],
"dateRange": {
"start": "2026-05-04T09:42:00Z",
"end": "2026-05-04T09:42:00Z"
},
"exactMatch": false,
"include": true,
"conversationType": "all"
}
]
},
"shareAll": {
"apps": [
"whatsapp"
],
"includeAttachments": true,
"dateRange": {
"start": "2026-05-04T09:42:00Z",
"end": "2026-05-04T09:42:00Z"
},
"searchesExclude": [
{
"type": "name",
"values": [
"Jane Doe"
],
"apps": [
"whatsapp"
],
"exactMatch": false,
"conversationType": "all"
}
]
}
},
"devices": [
{}
],
"totalDevicesCount": 1,
"dueDate": "2026-01-15T14:30:00.000Z",
"sendEmail": true,
"lockedAt": "2026-05-04T09:42:00Z",
"hasDueDateCrossed": false,
"status": "pending",
"reviewStatus": "approved",
"reviewMessage": "string",
"lastApprovedBy": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": [
"+15555550100"
],
"isActive": true,
"isEmailVerified": true,
"lastActive": "2026-01-15T14:30:00.000Z",
"roles": [
"user"
],
"avatar": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"onboardingStatus": "completed",
"userType": "attorney",
"firstName": "Jane",
"lastName": "Doe",
"initials": "JD",
"userOrganizations": [
{}
]
},
"ocReviewedByOrg": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "Example Law LLP",
"slug": "example-law-llp",
"email": "office@example.com",
"contact": "Jane Doe",
"city": "New York",
"state": "NY",
"country": "US",
"description": "Litigation practice",
"phone": [
"+15555550100"
],
"logo": "https://files.example.com/logo.png",
"isActive": true,
"isPriority": false,
"activePlan": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"subscription": {},
"relatedSubscription": [
{}
],
"organization": {},
"seats": 5,
"seatsUsed": 3,
"devices": 10,
"deviceUsed": 4,
"storage": 100000000000,
"storageUsed": 12000000000,
"payments": [
{}
],
"type": "admin",
"isActive": true,
"isBetweenPlanChanges": false,
"storageInKb": 100000000,
"storageUsedInKb": 12000000,
"storageInMb": 100000,
"storageUsedInMb": 12000,
"storageInGb": 100,
"storageUsedInGb": 12,
"storageInTb": 0.1,
"storageUsedInTb": 0.012,
"isFreePlan": false,
"remainingSeats": 2,
"remainingDevices": 6,
"remainingStorage": 88000000000
},
"metadata": {},
"type": "law_firm",
"version": "v1"
},
"ocReviewedAt": "2026-05-04T09:42:00Z",
"ocRequired": true,
"allowShareAll": false,
"metadata": {},
"logsConfig": {},
"sources": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"case": {},
"extractionCode": {},
"dataSource": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "gmail",
"displayName": "Gmail",
"category": "email",
"config": {
"iosEnableEncryptedBackup": true,
"iosAllowOnlyEncryptedBackup": false,
"iosAllApps": [
"messages",
"call_log",
"whatsapp",
"photos"
],
"iosAllowedApps": [
"messages",
"call_log"
]
}
},
"caseDataSource": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"case": {},
"dataSource": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "gmail",
"displayName": "Gmail",
"category": "email",
"config": {
"iosEnableEncryptedBackup": true,
"iosAllowOnlyEncryptedBackup": false,
"iosAllApps": [
"messages",
"call_log",
"whatsapp",
"photos"
],
"iosAllowedApps": [
"messages",
"call_log"
]
}
},
"config": {
"iosEnableEncryptedBackup": true,
"iosAllowOnlyEncryptedBackup": false,
"iosAutoIncludeSafariData": true,
"iosAutoIncludeNotesData": false,
"iosAllowedApps": [
"messages",
"call_log",
"whatsapp"
]
}
},
"config": {
"iosEnableEncryptedBackup": true,
"iosAllowOnlyEncryptedBackup": false,
"iosAllApps": [
"messages",
"call_log",
"whatsapp",
"photos"
],
"iosAllowedApps": [
"messages",
"call_log"
]
}
}
],
"payment": {}
}
],
"totalExtractionCodes": 5,
"dataUsedInBytes": 52428800,
"totalCaseFileSize": 1048576,
"hasCaseFiles": true,
"dataSources": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"case": {},
"dataSource": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "gmail",
"displayName": "Gmail",
"category": "email",
"config": {
"iosEnableEncryptedBackup": true,
"iosAllowOnlyEncryptedBackup": false,
"iosAllApps": [
"messages",
"call_log",
"whatsapp",
"photos"
],
"iosAllowedApps": [
"messages",
"call_log"
]
}
},
"config": {
"iosEnableEncryptedBackup": true,
"iosAllowOnlyEncryptedBackup": false,
"iosAutoIncludeSafariData": true,
"iosAutoIncludeNotesData": false,
"iosAllowedApps": [
"messages",
"call_log",
"whatsapp"
]
}
}
],
"dataSourcesStatusCount": {
"completed": 4,
"in_progress": 1
}
}
},
"statusCode": 201,
"timestamp": "2026-01-15T10:15:00.000Z"
}