Hey JB, Ahoeben,
Yes, you can use the Swagger API on the S5 to give your printers commands. A better way to do it is to use our cloud APIs to do so. This will leverage all our cloud-features you can have, even when the printer is on a remote network or with other shenanigans.
You can learn how to use this here: https://docs.api.ultimaker.com/index.html
https://support.ultimaker.com/hc/en-us/articles/360021097759-Ultimaker-cloud-APIs
Warm regards,
Allard Hoeve
Product Owner Digital Factory