ingest

Record one event

Called by the tracker at /api/d (this path is the same endpoint under its original name). Returns 204 on success, 404 for an unknown site and 429 when the workspace is past its quota grace band — rejected events are counted and shown to the customer.

post/api/collect

Request

  • Base URL: https://app.vitrus.dev/app
  • URL: https://app.vitrus.dev/app/api/collect
  • Auth: one of:
    • API key in cookie vitrus_session
    • HTTP bearer

Request body

sitestring required
type'pageview' | 'event' required
namestring

Event name. Required when type is event.

urlstring
referrerstring
propsobject

Event properties. Never contains a form field's VALUE.

Response

Recorded.

Changes

No recorded changes to this operation across all 1 revision of this API.