Sure, that workflow makes sense. I don’t have specific API instructions though I could dig some up if you can’t figure it out using the workflow described here:
If I recall from the last time I worked on this about a year ago, it’s something like:
(first, deploy all branches you’ll use, then):
make GET call to get the id of the split test for the site.