API Reference

Learn how to access UNLOQ end points

GET /actions

Returns a list with all authorisation actions defined for the given application.

GET https://api.unloq.io/v1/actions
Headers:
   Authorization: Bearer {your application API Key}
Result format (200 OK)
{
  "type": "api.application.action.find",
  "meta": {
    "total_count": 1,
    "page_count": 1,
    "current_count": 1,
    "current_page": 1
  },
  "result": [
    {
      "id": "abcdefg12345",
      "action": {
        "code": "test",
        "title": "Hello world",
        "message": "Custom message"
      },
      "variables": [
        "var1",
        "var2"
      ],
      "button": {
        "approve": "YES",
        "deny": "NO"
      },
      "is_active": true,
      "application_id": "1234",
      "created_at": "2016-10-25T08:28:11.000Z",
      "updated_at": "2016-10-25T08:28:11.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.