Get the session document for the active user

Returns the session for the active user.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Response

The session document for the logged in user.
idstring
The session token for the logged in user
loginMethodenum
The way a user logged in
Allowed values:
session_startinteger
The Unix epoch time when the session started
ttlinteger
The default ttl for a user session
principalIdstring
The accountId for the logged in user
requestCountinteger
The number of API requests made during the active session

Errors

500
Internal Server Error