Lists one case's invitations, optionally filtered by status or by invitee name or email. On a case shared with opposing counsel, each side sees only the invitations it may see.
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
-
Values are
ascordesc. Default value isasc. -
Values are
pending,accepted, orrejected. -
Minimum length is
3, maximum length is100. -
Values are
nameordate. Default value isdate.
GET
/case/access/{orgId}/case/{caseId}/invitations
curl \
--request GET 'http://api.example.com/case/access/{orgId}/case/{caseId}/invitations' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"total": 42,
"page": 1,
"perPage": 20,
"skip": 0,
"limit": 20,
"totalPages": 3,
"nextPage": 2,
"previousPage": 42.0,
"data": [
{
"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": [
{}
]
},
"invitedUser": "507f1f77bcf86cd799439011",
"acceptedBy": "string",
"organization": "507f1f77bcf86cd799439011",
"case": "507f1f77bcf86cd799439011",
"accessOrganization": "string",
"invitedUserRole": "member",
"invitedUserAccessLevel": "owner",
"status": "pending",
"emailSent": true,
"emailSentAt": "2026-01-15T14:30:00.000Z"
}
]
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}