Amplify Up

POST /v1/page

Record a page view.

POST
/v1/page

Ingests a page view for a visitor.

Events base URL: https://api.amplifyup.ai

The Node SDK page() helper sends this. Skip it inside Composer preview.

Headers
NameTypeRequiredDescription
Content-TypestringYesapplication/json
Body fields
NameTypeRequiredDescription
typestringYesMust be page
anonymousIdstringYesVisitor ID (for example browser_…)
userIdstringNoKnown user id when identified
propertiesobjectYesMust include trackingId plus path or url
timestampstringNoISO-8601 time. Defaults to now if omitted.
Example request
Example response (200)
Prefer page() from @amplifyup/sdk so visitor IDs and preview suppression stay correct.