API Reference

Learn how to access UNLOQ end points

GET /actions/:code

Returns an authorisation action information, identified by the given code

GET https://api-authenticator.iwelcome.com/v1/actions/:code
Headers:
   Authorization: Bearer {your application API Key}
   Content-Type: application/json
URL Parameters
  • code (string, required) - The action code, unique application-wide.
Result format (200 OK)
{
  "type": "api.application.action.read",
  "result": {
    "id": "123456",
    "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.