Analytics

Add events to an existing session

post/visitors/{visitor_id}/session-replays/{session_id}/events

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/visitors/{visitor_id}/session-replays/{session_id}/events
  • Auth: HTTP bearer

Path parameters

visitor_idinteger required

Visitor ID

session_idstring required

Session ID

Request body

batchIdstring nullable

Client-generated id, stable across retries of the same batch. When present the append is idempotent; omitted, delivery is at-least-once.

eventsstring required

Response

Events added successfully

event_countinteger required
messagestring required

Changes

No recorded changes to this operation across all 50 revisions of this API.