add app id to app API