API creation - register
conversion to API