API Reference
POST /api/public/apps/page
The page call lets you record whenever a user sees a page of your website, along with any optional properties about the page.
POST
/
api
/
public
/
apps
/
page
Header
Body
curl --request POST \
--url http://localhost/api/public/apps/page \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"context": {},
"messageId": "<string>",
"name": "<string>",
"properties": {},
"timestamp": "<string>",
"userId": "<string>"
}'
"<string>"
The following is an example of a page body.
example body
{
"name": "Overview",
"userId": "1043",
"properties": {
"url": "/dashboard/overview"
},
"messageId": "1ff51c9c-4929-45de-8914-3bb878be8c4a"
}
Headers
authorization
string
requiredBody
application/json
Option 1
Option 2
context
object
messageId
string
requiredname
string
properties
object
timestamp
string
userId
string
requiredResponse
204 - application/json
An empty String
curl --request POST \
--url http://localhost/api/public/apps/page \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"context": {},
"messageId": "<string>",
"name": "<string>",
"properties": {},
"timestamp": "<string>",
"userId": "<string>"
}'
"<string>"