Skip to content

Create a saved funnel (ADMIN)

projectId
required
string
Media typeapplication/json
object
name
required
string
>= 1 characters
description
string | null
<= 500 characters
steps
required

Each item is an event-name string OR { order?, eventName }.

Array
>= 2 items
One of:
string
>= 1 characters
windowHours
integer
default: 24 >= 1 <= 2160

{ 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": [
{}
]
}