icTrainer is the affordable alternative to Zwift, Rouvy, and other Cycling Apps.
If you have an API (and an OAuth login), icTrainer can automatically import your workouts and training zones, or automatically upload completed workouts to you.