Skip to content

Users search emails

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

Search for a set of emails in your network.

Endpoint

POST https://api.tapglue.com/0.4/users/search/emails

Params

Name Type
emails [string]

Example

curl https://api.tapglue.com/0.4/users/search?email=user1%40mail.com&email=user2%40mail.com \
-u [[app:key]]:SESSION_TOKEN \
-H 'Accept: application/json'
-d "{\"emails\":[\"[email protected]\",\"[email protected]\"]}"

Response

{
  "users": [
    {
      "id_string": "19299254468087941",
      "id": 19299254468087940,
      "custom_id": "2",
      "social_ids": {
        "facebook": "fb12345678"
      },
      "is_friend": false,
      "is_follower": false,
      "is_followed": false,
      "user_name": "Owen",
      "first_name": "Owen",
      "last_name": "Dai",
      "email": "[email protected]",
      "url": "myapp://users/2",
      "metadata": {
        "foo": "bar"
      },
      "images": {
        "avatar": {
          "url": "https://mydomain.com/users/2/avatar.jpg",
          "width": 400,
          "height": 400
        },
        "avatar_thumb": {
          "url": "https://mydomain.com/users/2/avatar_thumb.jpg",
          "width": 150,
          "height": 150
        }
      },
      "enabled": true
    },
    {
      "id_string": "19299280825094277",
      "id": 19299280825094276,
      "custom_id": "1",
      "social_ids": {
        "facebook": "fb12345678"
      },
      "is_friend": false,
      "is_follower": false,
      "is_followed": false,
      "user_name": "Zephania",
      "first_name": "Zephania",
      "last_name": "Janna",
      "email": "[email protected]",
      "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": 2
}
Clone this wiki locally