I know there is a Migration tool through the GUI.

Is there a way to migrate from exchange to zimbra through an api? The reason I ask is because if I had many accounts to migrate, I cannot do it through the GUI (in a sane way), and would love if there was a way to write a frontend myself that took input and called the api to do the migration.

Is this possible, or any other ideas?

I am running 7.2.