v1

latestOpenAPI 3.1.02026-07-26461279.9 KB
Public Apps

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

Headers

authorizationstring required

Authorization header for the request, in the format Bearer <token>. Find your token at https://app.dittofeed.com/dashboard/settings#write-key.

Request body

OR

Example request

{
  "messageId": "23d04926-78e5-4ebc-853f-f26c84ff629e",
  "timestamp": "2024-04-22T07:00:00.000Z",
  "name": "Home",
  "properties": {
    "title": "My Site",
    "url": "http://www.site.com"
  },
  "context": {
    "ip": "192.0.2.1"
  },
  "userId": "1043"
}

Response

An empty String

string required

An empty String