Can I have a routine do API calls to a device on my network?

I have been trying to figure out how to kick of a single zone for 1 minute on my rainbird sprinkler system. I have found an example configuration.yaml file, but can’t figure out how to have ST do it. I figured I can add it to a dummy switch or button, and do it as part of a routine, or build a smart app, but can’t find anything

Does anyone know how to do this?