Skip to content

Update a saved funnel (ADMIN)

projectId
required
string
funnelId
required
string
Media typeapplication/json

At least one field required.

object
>= 1 properties
name
string
>= 1 characters
description
string | null
<= 500 characters
steps
Array
>= 2 items
One of:
string
>= 1 characters
windowHours
integer
>= 1 <= 2160
Examplegenerated
json
{
"name": "example",
"description": "example",
"steps": [
{
"order": 1,
"eventName": "example"
}
],
"windowHours": 1
}

{ funnel }

Media typeapplication/json
object
funnel

Saved funnel record (shape from dashboard-funnels repository).

object
id
string
projectId
string
name
string
description
string | null
steps
Array<object>
object
order
integer
eventName
string
windowHours
integer
key
additional properties
any

Invalid config

Media typeapplication/json

Validation error envelope (Zod). issues/details present on schema failures.

object
error
required
string
issues
Array<object>
object
key
additional properties
any
details
Array<object>
object
key
additional properties
any
Examplegenerated
json
{
"error": "example",
"issues": [
{}
],
"details": [
{}
]
}

Not found

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}