Add web service method to retrieve the public api endpoint