add api registration api