v2
latestOpenAPI 3.1.12026-07-2613060964.2 KBCommit Workflow
Commit a workflow to make the draft version live.
patch/v1/{workspace}/workflow/{slug}/commit/
Path parameters
workspacestring required
Workspace to which the workflow belongs (staging, production, etc.)
slugstring required
Unique identifier of the workflow. You can get it from workflow settings.
Query parameters
commit_messagestring
Commit message describing the changes
Response
Workflow committed successfully. The response will be the latest draft version after the commit.
Example response
{
"$schema": "https://schema.suprsend.com/workflow/v1/schema.json",
"slug": "welcome-sequence",
"is_enabled": true,
"name": "Welcome Sequence",
"category": "transactional"
}