curl --request GET \
--url https://api.casexchange.com/api/public/v1/analytics/sent \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.casexchange.com/api/public/v1/analytics/sent"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.casexchange.com/api/public/v1/analytics/sent', 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.casexchange.com/api/public/v1/analytics/sent",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.casexchange.com/api/public/v1/analytics/sent"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.casexchange.com/api/public/v1/analytics/sent")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.casexchange.com/api/public/v1/analytics/sent")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"warmTransfer": {
"kpis": {
"attempted": 123,
"successful": 123,
"successRate": 123
},
"reasonBreakdown": [
{
"reasonType": "FIRM_UNABLE_TO_ANSWER",
"count": 123
}
],
"byPartnerFirm": [
{
"firmId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"firmName": "<string>",
"attempted": 123,
"successful": 123,
"successRate": 123
}
],
"trend": [
{
"month": "2026-08",
"attempted": 123,
"successful": 123,
"successRate": 123
}
]
}
},
"meta": {
"requestId": "req_f2dbe1d3f6ad4a7bb5b4c9f2",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"meta": {
"requestId": "req_f2dbe1d3f6ad4a7bb5b4c9f2",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"meta": {
"requestId": "req_f2dbe1d3f6ad4a7bb5b4c9f2",
"timestamp": "2023-11-07T05:31:56Z"
}
}Get sent-referral analytics
Extended analytics for referrals the caller’s firm has SENT: KPIs, stage breakdown, trend, outcome distributions, top receiving firms, and warm-transfer metrics (partner firms in warmTransfer.byPartnerFirm are receiving firms). Supports the shared extended-analytics query filters (date ranges, case type, jurisdiction, tz).
curl --request GET \
--url https://api.casexchange.com/api/public/v1/analytics/sent \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.casexchange.com/api/public/v1/analytics/sent"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.casexchange.com/api/public/v1/analytics/sent', 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.casexchange.com/api/public/v1/analytics/sent",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.casexchange.com/api/public/v1/analytics/sent"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.casexchange.com/api/public/v1/analytics/sent")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.casexchange.com/api/public/v1/analytics/sent")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"warmTransfer": {
"kpis": {
"attempted": 123,
"successful": 123,
"successRate": 123
},
"reasonBreakdown": [
{
"reasonType": "FIRM_UNABLE_TO_ANSWER",
"count": 123
}
],
"byPartnerFirm": [
{
"firmId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"firmName": "<string>",
"attempted": 123,
"successful": 123,
"successRate": 123
}
],
"trend": [
{
"month": "2026-08",
"attempted": 123,
"successful": 123,
"successRate": 123
}
]
}
},
"meta": {
"requestId": "req_f2dbe1d3f6ad4a7bb5b4c9f2",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"meta": {
"requestId": "req_f2dbe1d3f6ad4a7bb5b4c9f2",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"meta": {
"requestId": "req_f2dbe1d3f6ad4a7bb5b4c9f2",
"timestamp": "2023-11-07T05:31:56Z"
}
}Authorizations
Public API key: cxp_<hex> (firm-scoped) or cxpp_<hex> (provider-scoped). Required on every request.
Response
Sent-referral analytics
Sent-referral analytics object. Documented here (partially): warmTransfer; other sections (kpis, currentStageBreakdown, trend, trendStats, outcomesOfSent, outcomesOfSigned, referralLooksDistribution, signedCasesByReferralAttempt, topSigningFirms, topCaseTypeJurisdictions) are returned as-is. topSigningFirms ranks receiving firms by cases whose most recent referral is currently signed, in litigation or closing; since 2026-09-08 closed, won and lost cases are not counted. trendStats carries the same volume as the raw daily trend, regrouped into a dense day/week/month-bucketed series over [rangeStart, rangeEnd] whose bucket size follows the window span, plus the window total, the mean per bucket, the busiest bucket, and the immediately preceding same-length window's totals when a referral date range is active. An empty bucket carries a count of 0 (a real zero, unlike the duration trends' null). When no date range is requested and a run of volume sits stranded far from the rest of the data — a legacy import dated decades before everything else, which would otherwise stretch the axis across those decades — the range narrows to where the data lives and the stranded volume is reported in excluded instead: it stays in total but is out of trend, avgPerBucket and peak, so sum(trend) + excluded.count === total. excluded is null in the normal case, and an explicitly requested range is never narrowed.
Show child attributes
Show child attributes
Show child attributes
Show child attributes

