Hi. We just started rolling out an official REST API to programmatically interact with features and experiments. We have a very limited number of endpoints at the moment (just list and toggle features), but we'll be adding more in the coming weeks. Until then, your workaround is probably the easiest solution.
https://docs.growthbook.io/app/api#authenticated-rest-api-beta