API Reference

Learn how to access UNLOQ end points

GET /users/:id/activity

Read latest activity for current user

GET https://api.unloq.io/v1/users/:id/activity
Headers:
   Authorization: Bearer {your application API Key}
   Content-Type: application/json
URL parameters
  • id (string, required) - The id of the user.
Result format (200 OK)
{
  "type": "api.application.user.activity.find",
  "meta": {
    "total_count": 4,
    "page_count": 1,
    "current_count": 4,
    "current_page": 1
  },
  "result": [
    {
      "id": "123456",
      "type": "AUTHENTICATION",
      "method": "EMAIL",
      "status": "APPROVED",
      "organization_id": "123",
      "application_id": "12",
      "account_id": "3",
      "profile_id": "3",
      "ip_source": "3.3.3.3",
      "ip_device": "2.2.2.2",
      "created_at": "2016-10-19T13:49:09.000Z",
      "authentication": {
        "encryption_key": false,
        "session": {
          "sent": false
        }
      }
    }
  ]
}
      

Have a question? You can always send us an email at support@unloq.io, or contact us on chat.

For security related concerns, please visit our Security page.