Get quotation access stats

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

FieldTypeDescription
stats.uniqueVisitorsintegerCount of distinct anonymous visitors
stats.totalVisitsintegerTotal number of sessions
stats.avgVisitDurationintegerAverage session duration (milliseconds)
stats.totalTimeSpentintegerSum of all session durations (milliseconds)
stats.lastVisitdatetimeMost recent session start date
stats.desktopVisitorsintegerNumber of desktop sessions
stats.mobileVisitorsintegerNumber of mobile sessions
stats.dailyVisitsintegerSessions started today
stats.weeklyVisitsintegerSessions started in the last 7 days
viewsobjectDaily views over the last 7 days, keyed by date (YYYY-MM-DD)

Response

  • 200 OK: Statistics retrieved
  • 404 Not Found: Quotation not found or not owned by the user's company
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Responses
200

Successful response

401

Unauthorized

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!