API Reference

Learn how to access UNLOQ end points

GET /approvals/:id

Returns an approval information, identified by the given id.

GET https://api-authenticator.iwelcome.com/v1/approvals/:id
Headers:
   Authorization: Bearer {your application API Key}
URL Parameters
  • id (string, required) - The approval id, unique application-wide.
Result format (200 OK)
{
  "type": "api.application.approval.read",
  "result": {
    "id": "123456abcdef",
    "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",
    "authentication": {
      "encryption_key": false,
      "session": {
        "sent": false
      }
    },
    "device": {
      "id": "abcedf1234",
      "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.