get
https://api.duodeal.app/api/access-sessions/quotations/
Returns aggregated access statistics and a daily views breakdown for a quotation. The quotation's deal must belong to the authenticated user's company.
Path Parameters
id: Quotation ID
Response Fields
| Field | Type | Description |
|---|---|---|
stats.uniqueVisitors | integer | Count of distinct anonymous visitors |
stats.totalVisits | integer | Total number of sessions |
stats.avgVisitDuration | integer | Average session duration (milliseconds) |
stats.totalTimeSpent | integer | Sum of all session durations (milliseconds) |
stats.lastVisit | datetime | Most recent session start date |
stats.desktopVisitors | integer | Number of desktop sessions |
stats.mobileVisitors | integer | Number of mobile sessions |
stats.dailyVisits | integer | Sessions started today |
stats.weeklyVisits | integer | Sessions started in the last 7 days |
views | object | Daily views over the last 7 days, keyed by date (YYYY-MM-DD) |
Response
200 OK: Statistics retrieved404 Not Found: Quotation not found or not owned by the user's company
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Successful response
401Unauthorized
