v4

latestOpenAPI 3.1.02026-08-03427198448.4 KB
page-views

Track Page View

Track a page view for any public-facing page.

  • Invoice/proposal owner and preview views are ignored.
  • Other public surfaces continue recording all viewer classifications.
  • Client views on invoices/proposals also publish to the events table.
  • Fire-and-forget: always returns success to the caller.
post/public/track-view

Request body

entity_type'invoice' | 'proposal' | 'booking_page' | 'client_portal' required
entity_idstring required
pagestring
viewer_type'client' | 'owner' | 'preview' required
client_idstring nullable
metadataobject

Response

Successful Response

{"stackTrail":"paths:/public/track-view:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}