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\":[\"user1@mail.com\",\"user2@mail.com\"]}"

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": "user2@mail.com",
      "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": "user1@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": 2
}
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.