flows
PUT /v1/flows/{numericFlowId}
Update a Flow's configuration and metadata
Request
- The document declares no server URL.
- AuthHTTP bearer
Request body
Example request
{
"name": "New User Announcement",
"data": "{\"steps\": [{\"id\": \"step_1\", \"title\": \"Welcome to my app!\", \"subtitle\": \"Let me show you around.\"}]}",
"description": "This is a Flow that welcomes new users to the app",
"targetingLogic": "user.property('isAdmin') == true",
"type": "CHECKLIST",
"active": true
}Response
The flow has been successfully updated.
Example response
{
"name": "New User Announcement",
"data": "{\"steps\": [{\"id\": \"step_1\", \"title\": \"Welcome to my app!\", \"subtitle\": \"Let me show you around.\"}]}",
"targetingLogic": "user.property('isAdmin') == true",
"type": "CHECKLIST",
"slug": "flow_abc",
"createdAt": "2024-01-01T00:00:00Z",
"modifiedAt": "2024-01-01T00:00:00Z",
"version": 1,
"status": "ACTIVE",
"codeSnippet": "<Frigade.Announcement flowId=\"my-flow-id\" />"
}Changes
No recorded changes to this operation across all 1 revision of this API.