Dozor
Ingest

Submit a batch of rrweb events from the SDK

Public-key authenticated. Always returns 204 on success. Accepts gzipped payloads via Content-Encoding: gzip.

POST/api/ingest

Public-key authenticated. Always returns 204 on success. Accepts gzipped payloads via Content-Encoding: gzip.

Header Parameters

x-dozor-public-key*string

Project public key (dp_<32hex>) — created in Settings → Organizations → Project.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://loading/api/ingest" \  -H "x-dozor-public-key: string" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "9b2e1d4c-6a3f-4f8e-9b1d-2c8a4e6f7a90",    "events": [      {        "type": 4,        "data": {          "href": "https://your-app.com/checkout",          "width": 1440,          "height": 900        },        "timestamp": 1761480000000,        "sliceIndex": 0      },      {        "type": 3,        "data": {          "source": 1,          "positions": [            {              "x": 412,              "y": 318,              "id": 17,              "timeOffset": 0            }          ]        },        "timestamp": 1761480001234,        "sliceIndex": 0      }    ],    "metadata": {      "url": "https://your-app.com/checkout",      "referrer": "https://your-app.com/cart",      "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15",      "screenWidth": 1440,      "screenHeight": 900,      "language": "en-US",      "userIdentity": {        "userId": "usr_abc123",        "traits": {          "plan": "pro",          "email": "alex@your-app.com"        }      }    },    "sliceMarkers": [      {        "index": 0,        "reason": "init",        "startedAt": 1761480000000,        "url": "https://your-app.com/checkout",        "pathname": "/checkout"      }    ]  }'
Empty
Empty
Empty