SendMemberInvitation) that creates the user record (if needed), attaches to org with pending status, and sends an email. The invited user must accept via 3rd-party signup before gaining access.view users (route-level permission:view users,api).curl --location 'https://api-dev.commandroom.ai/api/api/users/invite' \
--header 'Authorization: Bearer {{token}}' \
--header 'X-Tenant-UUID: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "user@example.com",
"name": "Sample Name",
"role": "Member"
}'{
"message": "Success.",
"data": {
"email": "user@example.com",
"name": "Sample Name",
"role": "Member",
"status": "active"
}
}