AI to manage Linkedin invitations

I get approached numerous times each day on LinkedIn to connect with people who want to sell me something. Over time I started using patterns (location, job title, etc) to quickly triage invitations

I am currently exploring a concept that uses Naive Bayes machine learning (a simple ML classifier) to learn from my previous LinkedIn invitation rejections and acceptances and automatically accept or reject future invitations if the algorithm confidence is greater than 90%

I've built a protoype that works well but to get access to the LinkedIn API for invitations I need to apply for a special LinkedIn account. I've submitted an application and will update this post if I receive access

[UPDATE]

After numerous conversations with LinkedIn team members, LinkedIn have declined my application to access the API I need to continue this project