Create a funnel
Saves a funnel of 2 to 8 steps. Page steps match a path; goal steps match a goal (or its absence). Needs the editor role.
Related: List funnels and Preview funnel results in Funnels.
Request
Path parameters
websitestringrequiredWebsite id or domain, e.g. example.com
1–253 characters
Headers
AuthorizationstringrequiredBearer followed by an account token or an OAuth access token with the funnels:write scope.
Content-TypestringrequiredSend the body as JSON.
One of: application/json
Body fields
namestringrequired1–80 characters
stepsobject[]required2–8 items
Response
The funnel.
{
"status": "string",
"data": {
"id": "string",
"siteId": "string",
"name": "string",
"steps": [],
"createdBy": "string",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
}Response fields
| Field | Type | Description |
|---|---|---|
| status | "ok" | |
| data | object | |
| data.id | string | |
| data.siteId | string | |
| data.name | string | |
| data.steps | object[] | |
| data.createdBy | string | |
| data.createdAt | string (date-time) | |
| data.updatedAt | string (date-time) |