Method
GET /v1/analytics/bookings/pax
Query Parameters
Start date (YYYY-MM-DD, inclusive).
End date (YYYY-MM-DD, inclusive).
Workspace identifier.
Headers
Bearer token with
analytics:read scope.curl "https://api.voyantcloud.com/v1/analytics/bookings/pax?from=2025-02-01&to=2025-02-07&workspaceId=ws_abc" \
-H "Authorization: Bearer $VOYANT_API_KEY"
[
{ "day": "2025-02-01", "pax_sum": 46 },
{ "day": "2025-02-02", "pax_sum": 32 },
{ "day": "2025-02-03", "pax_sum": 58 }
]
Return passenger totals (pax) per day across the selected range.
GET /v1/analytics/bookings/pax
analytics:read scope.curl "https://api.voyantcloud.com/v1/analytics/bookings/pax?from=2025-02-01&to=2025-02-07&workspaceId=ws_abc" \
-H "Authorization: Bearer $VOYANT_API_KEY"
[
{ "day": "2025-02-01", "pax_sum": 46 },
{ "day": "2025-02-02", "pax_sum": 32 },
{ "day": "2025-02-03", "pax_sum": 58 }
]