Skip to content

Create Session

Creates a new Session within a specified Organization.

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

Request Body

{
  "body": [
    {
      "machineId": 0,
      "startedAtUtc": "2022-08-31T20:04:33.623",
      "login": "example@example.com",
      "reason": null,
      "loginWasSuccessful": true,
      "endedAtUtc": null,
      "wasAbandoned": false,
      "source": "Web",
      "organizationId": 1
    }
  ]
}

Returns

On Success

The ids of the created Session.

Response Body

[
  1673
]

On Error

HTTP Code Error Code Definition
403 UNAUTHORIZED_DATA_ACCESS You do not have access to one of the organizations you attempted to create a session in.