API Reference

Learn how to access UNLOQ end points

POST /groups/:group_id/users

Find all users in a specific group

GET https://api.unloq.io/v1/groups/:group_id/users
Headers:
   Authorization: Bearer {your application API Key}
URL parameters
  • group_id (string) - Required. The id of the group.
Result format (200 OK)
{
  "type": "api.application.group.user.find",
  "meta": {
    "total_count": 2,
    "page_count": 1,
    "current_count": 2,
    "current_page": 1
  },
  "result": [
    {
      "id": "4",
      "last_activity": "2016-10-21T04:29:48.000Z",
      "profile": {
        "id": "123",
        "email": "some@one.com"
      },
      "account": {
        "id": "345",
        "first_name": null,
        "last_name": null,
        "image": null,
        "is_active": true
      }
    },
    {
      "id": "12333",
      "last_activity": "2016-11-21T08:15:03.000Z",
      "profile": {
        "id": "2",
        "email": "john@doe.com"
      },
      "account": {
        "id": "2556",
        "first_name": null,
        "last_name": null,
        "image": null,
        "is_active": true
      }
    }
  ]
}
      

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.