Skip to main content
POST
Log page view

Authorizations

Authorization
string
header
required

Enter your API token from the Haystack dashboard

Body

application/json
origin
string
required

The page origin (e.g. https://pinelake.org)

path
string
required
surface
enum<string>
required
Available options:
embed,
connect,
console
search
string | null

Query string portion of the URL

embedToken
string | null
referrerUrl
string | null

Response

200 - application/json

Event logged

pageViewId
string