API Reference

Learn how to access UNLOQ end points

GET /reports/encryption

List all encryption key reports

GET https://api.unloq.io/v1/reports/encryption
Headers:
   Authorization: Bearer {your application API Key}
   Content-Type: application/json
Body 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.
Result format (200 OK)
{
  "type": "api.application.reports.encryption",
  "meta": {
    "total_count": 15,
    "page_count": 2,
    "current_count": 10,
    "current_page": 1
  },
  "result": [
    {
      "id": "123456",
      "type": "ENCRYPTION_KEY",
      "method": "UNLOQ",
      "status": "NEW",
      "organization_id": "123",
      "application_id": "12",
      "account_id": "100",
      "profile_id": "100",
      "ip_source": "2.2.2.2",
      "ip_device": "2.2.2.2",
      "created_at": "2016-11-10T12:49:32.000Z",
      "country": {
        "code": "RO",
        "name": "Romania"
      },
      "region": {
        "code": "13",
        "name": "Cluj"
      },
      "device": {
        "id": "123",
        "type": "ANDROID",
        "version": "24"
      },
      "user": {
        "id": 1,
        "email": "john@doe.com",
        "account": {
          "id": 1,
          "first_name": "John",
          "last_name": "Doe",
          "image": "https://image.jpg",
          "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.