Grants the member with email access at caseAccessLevel to every active case of organization orgId they cannot reach yet; archived and deleted cases are skipped and existing access, including revoked access, is kept as is. Returns isSuccess: false when processing failed part way (retry to fill the rest), 400 when the user is not a member or there are no active cases, and 404 for an unknown organization or user or while the feature is turned off. Super admin only.
POST
/admin/organization/add-user-to-all-org-cases
curl \
--request POST 'http://api.example.com/admin/organization/add-user-to-all-org-cases' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"orgId": "string",
"caseAccessLevel": "commenter",
"email": "string"
}'
Request examples
{
"orgId": "string",
"caseAccessLevel": "commenter",
"email": "string"
}
Response examples (200)
{
"data": {
"message": "Done",
"isSuccess": true
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}