Run a conversion funnel
curl --request POST \
--url https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"window_days": 30,
"since": "2026-07-08T00:00:00.000Z",
"until": "2026-08-07T00:00:00.000Z",
"entered": 5000,
"converted": 900,
"overall_conversion_rate": 0.18,
"steps": [
{
"step_index": 0,
"event": "viewed_pricing",
"reached": 5000,
"dropped_off": 0,
"step_conversion_rate": null,
"overall_conversion_rate": 1
},
{
"step_index": 1,
"event": "started_checkout",
"reached": 2100,
"dropped_off": 2900,
"step_conversion_rate": 0.42,
"overall_conversion_rate": 0.42
},
{
"step_index": 2,
"event": "order_completed",
"reached": 900,
"dropped_off": 1200,
"step_conversion_rate": 0.4286,
"overall_conversion_rate": 0.18
}
]
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"timestamp": "2026-08-07T12:00:00.000Z"
}
}CDP
Run a conversion funnel
Computes an ordered conversion funnel over your CDP event stream: pass 2–8 event names in steps and Orbit counts how many subjects reached each step in sequence within window_days of entering the funnel. Each step returns the reached count, drop-off from the previous step, the step-to-step conversion rate, and the overall conversion rate from funnel entry. Use it to find where users abandon a multi-step flow (signup, checkout, onboarding). Owner / admin / developer with the contacts:read scope only.
POST
/
api
/
v1
/
cdp
/
analytics
/
funnel
Run a conversion funnel
curl --request POST \
--url https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/analytics/funnel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"window_days": 30,
"since": "2026-07-08T00:00:00.000Z",
"until": "2026-08-07T00:00:00.000Z",
"entered": 5000,
"converted": 900,
"overall_conversion_rate": 0.18,
"steps": [
{
"step_index": 0,
"event": "viewed_pricing",
"reached": 5000,
"dropped_off": 0,
"step_conversion_rate": null,
"overall_conversion_rate": 1
},
{
"step_index": 1,
"event": "started_checkout",
"reached": 2100,
"dropped_off": 2900,
"step_conversion_rate": 0.42,
"overall_conversion_rate": 0.42
},
{
"step_index": 2,
"event": "order_completed",
"reached": 900,
"dropped_off": 1200,
"step_conversion_rate": 0.4286,
"overall_conversion_rate": 0.18
}
]
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"timestamp": "2026-08-07T12:00:00.000Z"
}
}Authorizations
BearerApiKey
Dashboard JWT token from Clerk
Response
200 - application/json
Funnel result: how many subjects entered, how many converted through the final step, the overall conversion rate, and the per-step reached / drop-off / conversion breakdown.
The response is of type object.
⌘I