API Reference

Learn how to access UNLOQ end points

GET /reports/authentication

List all authentication reports

GET https://api-authenticator.iwelcome.com/v1/reports/authentication
Headers:
   Authorization: Bearer {your application API Key}
   Content-Type: application/json
Query parameters
  • group (string) - Optional. Filter reports for specified group.
  • ip (ip) - Optional. Filter reports for specified ip.
  • account (string) - Optional. Filter reports for specified account.
  • email (string) - Optional. Filter reports for specified e-mail address.
  • country (string) - Optional. Filter reports for specified country-code.
  • region (string) - Optional. Filter reports for specified reqion.
  • device_type (ENUM) - Optional. Available options: 'ANDROID' or 'IOS'.
  • device_version (string) - Optional. Filter reports for specified device version.
  • status (string) - Optional. Filter reports for specified status.
  • start_date (integer) - Optional. Filter reports for specified start date.
  • end_date (integer) - Optional. Filter reports for specified end date.
  • limit (integer) - Optional. Min 10, max 100. Default is 10.
  • page (integer) - Optional. Min 1, default 1.
  • method (integer) - Optional. Filter reports for specified method.
Result format (200 OK)
{
  "type": "api.application.reports.authentication",
  "meta": {
    "total_count": 193,
    "page_count": 20,
    "current_count": 10,
    "current_page": 2
  },
  "result": [
    {
      "id": "12345",
      "type": "AUTHENTICATION",
      "method": "EMAIL",
      "status": "APPROVED",
      "organization_id": "123",
      "application_id": "1234",
      "account_id": "200",
      "profile_id": "200",
      "ip_source": "2.2.2.2",
      "ip_device": "2.2.2.2",
      "created_at": "2016-10-19T14:12:47.000Z",
      "authentication": {
        "encryption_key": false,
        "session": {
          "sent": false
        }
      },
      "user": {
        "id": 12,
        "email": "john@doe.com",
        "account": {
          "id": 12,
          "first_name": John,
          "last_name": Doe,
          "image": null,
          "is_active": true
        }
      }
    }
  ]
}
      

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.