Skip to content

Create SessionEvents

Create the provided list of session events.

Verb PUT
Endpoint {base-url}/sessions/management/events/
Max Page Size N/A

Request Body

{
  "body": [
    {
      "sessionId": 358607,
      "eventType": "Navigation",
      "additionalData": "Home",
      "loggedAtUtc": "2025-06-20T00:00:38.813"
    }
  ]
}

Note

All changes in this request are atomic. If any item fails, the entire batch is rolled back and no changes are made.

Returns

On Success

The IDs of the newly created session events.

Response Body

[
  9
]

On Error

HTTP Code Error Code Definition
403 DATA_ACCESS_VIOLATION One or more of the specified sessionId values reference an existing session in an organization you do not have access to.
404 MISSING_RECORD One or more of the specified sessionId values do not reference an existing session.
422 VALIDATION_ERROR A required field is missing or invalid (e.g. sessionId must be a positive integer, eventType is required and must be 50 characters or fewer, loggedAtUtc is required).