---
title: "POST /api/public/apps/page"
method: POST
path: "/api/public/apps/page"
tags: ["Public Apps"]
---

# POST /api/public/apps/page

`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.

## Headers

- `authorization` string, required

## Request body

- union
  - object
    - `messageId` string, required — Unique identifier for the message, used as an idempotency key for safe retries. Can provide a UUID.
    - `timestamp` string — ISO 8601 formatted timestamp of when the event occurred. If not provided, the current server time will be used.
    - `name` string — Name of the page visited by the user.
    - `properties` object — Free-form dictionary of properties of the page, like url and referrer. Can contain arbitrary JSON values.
    - `context` object — Provides metadata about the user submitting the event and the context in which the event occurred.
    - `userId` string, required — Unique identifier for the user. Should be the id of the user in your system. Only applicable to logged in users.
  - object
    - `messageId` string, required — Unique identifier for the message, used as an idempotency key for safe retries. Can provide a UUID.
    - `timestamp` string — ISO 8601 formatted timestamp of when the event occurred. If not provided, the current server time will be used.
    - `name` string — Name of the page visited by the user.
    - `properties` object — Free-form dictionary of properties of the page, like url and referrer. Can contain arbitrary JSON values.
    - `context` object — Provides metadata about the user submitting the event and the context in which the event occurred.
    - `anonymousId` string, required — Identifier for a logged out user. It can be any pseudo-unique identifier, for example a session Id or a UUID.

## Response `204`

An empty String

- string — An empty String

## Other responses

- `401` — Default Response

---

[API](https://skmtc.net/dittofeed/apis/dittofeed-api.md) · [All operations](https://skmtc.net/dittofeed/apis/dittofeed-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dittofeed/dittofeed-api/versions/13cf71747bf1/schema)
