intercept rest api for phonehome