Session Resource (since 1.1.13)

A session marks a point in time when a user’s refresh token was last used to obtain a new access token.

Representations

JSON

Properties

Name Type Description
EID EID Unique entity identifier
ip string IP-address
isCurrent boolean Whether or not the refresh token is still in use
lastActivity datetime Last time the refresh token was used
type string “session”
userAgent string User agent

Example

{
    "_links": {
        "self": {
            "href": "https://api.speakap.io/networks/FEDCBA0987654321/sessions/1234567890ABCDEF/"
        }
    },
    "type": "session",
    "EID": "1234567890ABCDEF",
    "ip": "123.4.56.789",
    "lastActivity": "2016-09-30T13:58:24.123+01:00",
    "userAgent": "Lynx",
    "isCurrent": false
}