Set up API for teams