Update a flow definition
PUT /v3/flowDefinitions/<flowDefinitionRef>
Updates a flow definition. Every update increases the value in the revision
key by one.
At a minimum, you must provide the following required attributes in the request body:
RequestResponse
curl -X PUT '<baseURL>/v3/flowDefinitions/ddfa024b-dd69-4e4d-af78-44d6cf0d7bf8' \
-H 'Authorization: Bearer <accessToken>' \
-H 'Accept: application/json' \
--data-raw '
{
"name": "Alert bar 1 - UPDATED",
"friendlyId": "alert_bar_1",
"type": "INTERACTIVE_WEB_FLOW",
"subtype": "EXPERIENCE",
"status": "DRAFT",
"channels": [
"WEB"
],
"traffic": {
"type": "simpleTraffic",
"splits": [],
"weightingAlgorithm": "USER_DEFINED",
"coupled": false,
"allocation": 100
},
"schedule": {
"type": "simpleSchedule",
"startDate": "2025-07-04T11:46:41.810Z"
},
"sampleSizeConfig": {
"baseValue": 0.02,
"minimumDetectableDifference": 0.2,
"confidenceLevel": 0.95
},
"businessProcess": "interactive_v1",
"variants": []
}'
RequestResponse
{
"clientKey": "pqsPERS3lw12v5a9rrHPW1c4hET73GxQ",
"href": "<baseURL>/v3/flowDefinitions/ddfa024b-dd69-4e4d-af78-44d6cf0d7bf8",
"ref": "ddfa024b-dd69-4e4d-af78-44d6cf0d7bf8",
"name": "Alert bar 1 - UPDATED",
"modifiedByRef": "zwxCA58jwLzfeU2mNGgalCpoJzNVYOJl@clients",
"modifiedAt": "2025-07-04T14:45:32.922Z",
"revision": 2,
"archived": false,
"friendlyId": "alert_bar_1",
"type": "INTERACTIVE_WEB_FLOW",
"subtype": "EXPERIENCE",
"channels": [
"WEB"
],
"triggers": [],
"tags": [],
"businessProcess": "interactive_v1",
"traffic": {
"type": "simpleTraffic",
"weightingAlgorithm": "USER_DEFINED",
"modifiedAt": "2025-07-04T14:45:32.922Z",
"allocation": 100,
"splits": [],
"coupled": false
},
"variants": [],
"transpiledVariants": [],
"status": "DRAFT",
"schedule": {
"type": "simpleSchedule",
"startDate": "2025-07-04T11:46:41.810Z"
},
"revisions": {
"href": "<baseURL>/v3/flowDefinitions/ddfa024b-dd69-4e4d-af78-44d6cf0d7bf8/revisions"
},
"sampleSizeConfig": {
"baseValue": 0.02,
"minimumDetectableDifference": 0.2,
"confidenceLevel": 0.95
}
}