hooking api server