Method
GET /v1/analytics/bookings/destinations
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/destinations?from=2025-02-01&to=2025-02-07&workspaceId=ws_abc" \
-H "Authorization: Bearer $VOYANT_API_KEY"
[
{ "day": "2025-02-01", "country": "RO", "amount_cents_sum": 980000, "cnt": 4 },
{ "day": "2025-02-01", "country": "GR", "amount_cents_sum": 650000, "cnt": 3 },
{ "day": "2025-02-02", "country": "IT", "amount_cents_sum": 420000, "cnt": 2 }
]
Return booking revenue totals grouped by destination country.
GET /v1/analytics/bookings/destinations
analytics:read scope.curl "https://api.voyantcloud.com/v1/analytics/bookings/destinations?from=2025-02-01&to=2025-02-07&workspaceId=ws_abc" \
-H "Authorization: Bearer $VOYANT_API_KEY"
[
{ "day": "2025-02-01", "country": "RO", "amount_cents_sum": 980000, "cnt": 4 },
{ "day": "2025-02-01", "country": "GR", "amount_cents_sum": 650000, "cnt": 3 },
{ "day": "2025-02-02", "country": "IT", "amount_cents_sum": 420000, "cnt": 2 }
]