Added api to the web config.