Put API endpoint into config