Create a new workflow or update the draft version of an existing one
Pass as ServiceToken <Service_Token>
. Get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
Workspace where the workflow should be created (staging, production, etc.)
Unique identifier of the workflow. You can get it from workflow settings for existing workflows.
Whether to commit the workflow immediately. Workflow will be successfully committed only if validation_result.is_valid is true.
Commit message describing the changes (required if commit=true)
The response includes the same workflow object as input along with a validation_result field that indicates whether the workflow configuration is valid.
The response is of type object
.