Funnels
Create Funnel
POST
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringapplication/json- body
name*stringdescription?string|null|nullsteps*array<>conversionWindowSeconds*number|strictOrder*booleantimeRangeSeconds*number|FunnelRecord
application/json- response
id*stringprojectId*stringname*stringdescription*string|nullsteps*array<>|nullunsupportedSteps?boolean|nullconversionWindowSeconds*number|strictOrder*booleantimeRangeSeconds*number|createdAt*stringupdatedAt*stringcurl -X POST "https://example.com/v0/projects/string/funnels" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "steps": [ { "id": "string", "name": "string", "match": "all", "filters": [ { "field": "string", "operator": "equals", "value": "string" } ] } ], "conversionWindowSeconds": 0, "strictOrder": true, "timeRangeSeconds": 0 }'{ "id": "string", "projectId": "string", "name": "string", "description": "string", "steps": [ { "type": "event", "id": "string", "name": "string", "match": "all", "filters": [ { "field": "string", "operator": "equals", "value": "string" } ] } ], "unsupportedSteps": true, "conversionWindowSeconds": 0, "strictOrder": true, "timeRangeSeconds": 0, "createdAt": "string", "updatedAt": "string"}