Replays
Find the recordings you want, then load short-lived URLs to play them in your own player.
curl https://api.databuddy.cc/replays/list \
-H "x-api-key: $DATABUDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"websiteId": "'"$DATABUDDY_WEBSITE_ID"'",
"email": "jane@databuddy.cc",
"traits": [{ "key": "role", "value": "editor" }],
"event": "report_exported",
"startedAfter": "2026-11-28T00:00:00Z",
"limit": 50
}'The key needs read:data and access to the website, and the website needs session replay turned on. Keep the key on your server.
Find recordings
POST /replays/list returns recordings newest first. Every filter you send must match.
Each entry in sessions has sessionId, the user's profileId, email, displayName and traits, start and end times in milliseconds, entry page, device, browser, country, custom events and friction.
There's no page cursor for this list.
Load a recording
curl https://api.databuddy.cc/replays/events \
-H "x-api-key: $DATABUDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "websiteId": "'"$DATABUDDY_WEBSITE_ID"'", "sessionId": "SESSION_ID", "allParts": true }'A new part starts when the visitor opens another page. Request the same page again for fresh URLs, which you can hand to your player without exposing your key. A session with no recording returns 404.
Check for new footage and issues
Fix errors
Related
How is this guide?