add form to api