Partner API
Path Analytics report
GET /api/v2/analytics/paths - Returns summary, step retention, version breakdown, device/browser mix, and contacts by state. Discover path_uuid values via List paths.
GET
/api/v2/analytics/pathsReturns summary, step retention, version breakdown, device/browser mix, and contacts by state. Discover path_uuid values via List paths.
Required scope: analytics (or *).
Query parameters
| Name | Required | Description |
|---|---|---|
from | Yes | YYYY-MM-DD start date (inclusive) |
to | Yes | YYYY-MM-DD end date (inclusive). Span must be 1–90 days. |
path_uuid | No | Stable path id from GET /api/v2/paths. When omitted, returns all paths rolled up plus by_path. |
version | No | Funnel version string, or none to aggregate all versions. Defaults to live/latest when path_uuid is set. |
curl -s -H "Authorization: Bearer YOUR_TOKEN" \
"https://benefitpath.com/api/v2/analytics/paths?from=2026-07-01&to=2026-07-13&path_uuid=c0a80101-0000-4000-8000-000000000005&version=3"
{
"success": true,
"from": "2026-07-01",
"to": "2026-07-13",
"selectedPathUuid": "c0a80101-0000-4000-8000-000000000005",
"selectedFunnel": "medicare-quiz",
"selectedVersion": "3",
"pathOptions": [{ "path_uuid": "c0a80101-0000-4000-8000-000000000005", "slug": "medicare-quiz", "label": "Medicare Quiz", "version": "3" }],
"by_path": [],
"summary": { "visits": 1200, "starts": 840, "completions": 410 },
"retention": { "averageCompletionSeconds": null, "steps": [] },
"contacts_by_state": [{ "state": "TX", "count": 42 }]
}
Response fields
from/to- echo of the requested rangeselectedPathUuid,selectedFunnel(slug),selectedVersion,liveVersionpathOptions-{ path_uuid, slug, label, version }for follow-up requestsby_path- per-path summary whenpath_uuidis omittedsummary- visits, starts, completions, rates,activeSessions,ctaBreakdownretention- step drop-off with average time in stepversionBreakdown- per-version visits/starts/completions and publish metadatadeviceMix,browserMixcontacts_by_state- US state abbreviations with contact counts
Errors
401- missing or invalid Bearer token400- missing/invalidfrom/to, range longer than 90 days, or unknownpath_uuid403- token lacks theanalyticsscope
See Errors for the standard error envelope and rate limits.
Discover paths via List paths.
See Errors for the standard error envelope and rate limits.