v1
latestOpenAPI 3.0.32026-07-248003061.1 MBFlows
Create or update flow by name
Create a new flow or update an existing one. When the body has no id, the name path param is used as the flow id.
post/flow/{name}
Path parameters
namestring required
The flow name (used as the flow id when the body has no id)
Query parameters
account_idstring
The account ID. Defaults to the user's default account.
Request body
Example request
{
"steps": [
{
"delay_until": {
"time_of_day": "09:30",
"timezone": "America/New_York"
}
}
]
}Response
Updated Flow
Example response
{
"data": {
"steps": [
{
"delay_until": {
"time_of_day": "09:30",
"timezone": "America/New_York"
}
}
]
}
}