Get Started
API backend
API system
More information

GET api/2.0/security/audit/login/last This function requires authentication

Description

Returns all the latest user login activity, including successful logins and error logs.

Parameters

This method doesn't have any parameters.

Example
GET api/2.0/security/audit/login/last
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of login events

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "Id": 1234,
      "User": "some text",
      "UserId": "9924256A-739C-462b-AF15-E652A3B1B6EB",
      "Login": "some text",
      "Action": "some text",
      "IP": "some text",
      "Browser": "some text",
      "Platform": "some text",
      "Page": "some text"
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>1234</Id>
    <User>some text</User>
    <UserId>9924256A-739C-462b-AF15-E652A3B1B6EB</UserId>
    <Login>some text</Login>
    <Action>some text</Action>
    <IP>some text</IP>
    <Browser>some text</Browser>
    <Platform>some text</Platform>
    <Page>some text</Page>
  </response>
</result>