You can do this via API and it can save you a bit of time compared to sending out each invite manually.
But either way, each user will receive an invite, so there's not much you can do about it.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.