(GET) - History logins

Will return a list of login events, this includes failed login attempts.

Request URL

Parameters

None

More info

The status codes you can see for the login events are normal, 2fa_stoped, 2fa_failed, failed. When a user is taken to a 2FA page and is unable to login and closes the page you get a 2fa_stoped status code, and if they attempted to login using a 2FA code you will see 2fa_failed.

Response

{
  "data": [
    {
      "status": "failed",
      "useragent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.1 Safari/605.1.15",
      "date": "20181008020424",
      "ip": "104.204.159.101"
    },
    {
      "status": "normal",
      "useragent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.1 Safari/605.1.15",
      "date": "20181006175225",
      "ip": "184.68.59.42"
    }
  ],
  "system_connection": "true",
  "system_version": "v_56_330930f",
  "system_user_id": "1232",
  "system_user_username": "apiuser"
}