Query events and metrics over REST.
Send and query events over REST. Authenticate with your project key in the Authorization header.
curl https://ingest.dumbledor.com/v1/collect \
-H "Content-Type: application/json" \
-d '{ "type": "pageview", "websiteId": "YOUR_WEBSITE_ID", "url": "https://dumbledor.com/pricing" }'| Field | Type | Description |
|---|---|---|
| GET /v1/metrics | query | Aggregate visitors, sessions, and custom metrics. |
| POST /v1/collect | mutation | Ingest events from the browser SDK or server-side runtimes. |