Authorizations
API key with format "Bearer {your-api-key}"
Path Parameters
Unique identifier of the workflow
Body
Workflow name. Must be:
- At least 1 character long
- Maximum 100 characters
- Can only include letters, numbers, spaces, hyphens, and underscores
1 - 100"Welcome Email Series"
Workflow status:
draft: Workflow is in draft mode (not active)active: Workflow is active and will trigger on eventspaused: Workflow is paused (will not trigger)
draft, active, paused "active"
ReactFlow JSON workflow design. This is a complex object structure that should be created through the dashboard.
Note: This field is only used when updating workflow logic through the API. Most workflow updates should be done through the dashboard due to the complexity of the ReactFlow JSON format and backend transformation requirements.
{
"nodes": [
{
"id": "trigger",
"type": "trigger",
"position": { "x": 100, "y": 100 },
"data": { "eventName": "user_signed_up" }
}
],
"edges": []
}Response
Workflow successfully updated
The response is of type any.