API Reference

Learn how to access UNLOQ end points

GET /users/:id

List all users for current application

GET https://api-authenticator.iwelcome.com/v1/users/:id
Headers:
   Authorization: Bearer {your application API Key}
   Content-Type: application/json
URL parameters
  • id (string, required) - The id of the user to be read.
Result format (200 OK)
{
  "type": "api.application.user.read",
  "result": {
    "id": "22255",
    "last_activity": "2016-11-21T08:15:03.000Z",
    "notifications": true,
    "two_step": true,
    "linked_at": "2016-10-18T11:37:36.000Z",
    "profile": {
      "id": "22255",
      "email": "john@doe.com"
    },
    "account": {
      "id": "22255",
      "first_name": null,
      "last_name": null,
      "image": null,
      "is_active": true
    },
    "ip": "2.2.2.2",
    "device": "ANDROID",
    "location": {
      "country": "Romania",
      "region": "Cluj",
      "city": "Cluj-napoca"
    }
  }
}
      

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.