API register call