Use API to add Workflows

Please can you advise if there is an API that you can add workflows programmatically in the same way as adding shares, folders etc?

For example we want to add a flow using the file access control app as part of our deployment.

We know there is an API to retrieve existing flows

curl -u admin:password <nextcloudhost> /ocs/v2.php/apps/workflowengine/api/v1/workflows/global -H "OCS-APIRequest: true"

We are using version 18 at the moment although we are looking to upgrade to the latest.