API Reference

Learn how to access UNLOQ end points

GET /approvals

Returns a list with all the approvals for the given application.

GET https://api.unloq.io/v1/approvals
Headers:
   Authorization: Bearer {your application API Key}
   Content-Type: application/json
Result format (200 OK)
{
  "type": "api.application.approval.find",
  "meta": {
    "total_count": 200,
    "page_count": 20,
    "current_count": 10,
    "current_page": 1
  },
  "result": [
    {
      "id": "123456",
      "type": "AUTHENTICATION",
      "method": "UNLOQ",
      "status": "APPROVED",
      "organization_id": "123",
      "application_id": "12",
      "account_id": "10",
      "profile_id": "10",
      "ip_source": "2.2.2.2",
      "ip_device": "2.2.2.2",
      "created_at": "2016-10-18T11:26:01.000Z",
      "country": "US",
      "region": "13",
      "device": {
        "id": "123456abcdef",
        "type": "ANDROID",
        "version": "24"
      }
    },

    ...

  ]
}
      

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.