Skip to content

Users search user

Onur Akpolat edited this page Oct 27, 2016 · 1 revision

Find users more efficiently by searching for specific keywords or attributes.

Endpoint

GET https://api.tapglue.com/0.4/users/search?q=criteria

Example

curl -i https://api.tapglue.com/0.4/users/search?q=criteria \
-u [[app:key]]:SESSION_TOKEN \
-H 'Accept: application/json'

Response

{
  "users": [
    {
      "id_string": "19136110722551396",
      "id": 19136110722551396,
      "custom_id": "1",
      "social_ids": {
        "facebook": "fb12345678"
      },
      "user_name": "Vincent",
      "first_name": "Vincent",
      "last_name": "Heather",
      "email": "vincent@mail.com",
      "url": "myapp://users/1",
      "metadata": {
        "foo": "bar"
      },
      "images": {
        "avatar": {
          "url": "https://mydomain.com/users/1/avatar.jpg",
          "width": 400,
          "height": 400
        },
        "avatar_thumb": {
          "url": "https://mydomain.com/users/1/avatar_thumb.jpg",
          "width": 150,
          "height": 150
        }
      },
      "enabled": true
    }
  ],
  "users_count": 1
}
Clone this wiki locally