Skip to main content
List the caller's active sessions

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Response

Returns the caller's sessions that are still usable.

connection
object

Where the session was opened from - the client and the network address it came in on.

created
string<date-time>

When the session was opened.

lastUsed
string<date-time>

When the session was last used to call the API. A session expires once it has been idle for longer than validForMilliseconds.

token
string

Identifier of this session, which is what signs it out. It is not the token itself and cannot be used to authenticate; the session a client is currently using is not marked as such, so to recognize it compare this with the identifier its own token carries.

Example:

"Vp8kZ5UBq1nLxY2cF3aD"

username
string

Username the session belongs to. It is always the caller's own.

Example:

"john.doe@example.com"

validForMilliseconds
number

How long the session may stay idle before it stops being usable, counted from lastUsed.

Example:

2592000000