Currently we do not have a way to do this. Others have ask for APIs as well on our ideas forum. You may want to vote for one of those ideas or add your own. We look to that to help guide what features we add to the future. Here's a link to that forum - http://forums.adobe.com/community/formscentral?view=idea.