API Reference

Learn how to access UNLOQ end points

GET /firewalls

List all firewalls for current application

GET https://api.unloq.io/v1/firewalls
Headers:
   Authorization: Bearer {your application API Key}
Result format (200 OK)
{
  "type": "api.application.firewall.find",
  "meta": {
    "total_count": 2,
    "page_count": 1,
    "current_count": 1,
    "current_page": 1
  },
  "result": [
    {
      "id": "12345",
      "type": "ALLOW",
      "is_logged": false,
      "entity_type": "APPLICATION",
      "entity_id": "123",
      "account_id": "10",
      "country": {
        "code": "ROU",
        "name": "Romania"
      },
      "region": {
        "code": "13",
        "name": "Cluj"
      },
      "created_at": "2016-11-21T08:51:21.000Z",
      "targets": [
        {
          "id": "12345678",
          "target_type": "API_KEY",
          "created_at": "2016-11-21T09:14:06.000Z"
        },
        {
          "id": "123456789",
          "target_type": "DEVICE",
          "created_at": "2016-11-21T09:18:01.000Z"
        }
      ]
    }
  ]
}
      

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.