---
title: "POST /v1/bots/{bot_id}/flows/funnel"
method: POST
path: "/v1/bots/{bot_id}/flows/funnel"
tags: ["Flows"]
---

# POST /v1/bots/{bot_id}/flows/funnel

`POST /v1/bots/{bot_id}/flows/funnel`

## Path parameters

- `bot_id` string, required

## Request body

- object
  - `version` string, required
  - `start_time` string, required
  - `end_time` string, required
  - `steps` FunnelStep[], required
    - `order` integer
    - `event_id` string
    - `properties` FunnelStepFilter[]
      - `key` string
      - `operator` string
      - `type` string
      - `value` string[]
  - `breakdown_property` string
  - `order_type` string
  - `properties` FunnelStepFilter[]
    - `key` string
    - `operator` string
    - `type` string
    - `value` string[]

## Response `200`

A successful response.

- ComputeFunnelResponse
  - `result` FunnelStepResultByCohort[]
    - `values` FunnelStepResult[]
      - `event_id` string
      - `count` integer
      - `order` integer
      - `breakdown_value` string

---

[API](https://skmtc.net/sinch/apis/chatlayer-analytics-api.md) · [All operations](https://skmtc.net/sinch/apis/chatlayer-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sinch/chatlayer-analytics-api/revisions/a276d2543838/schema)
