HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Content-Type: application/json; charset=utf-8
Date: Mon, 25 Aug 2014 23:57:54 GMT
Server: nginx

{
   "type":"contact.list",
   "pages":{
      "type":"pages",
      "next":"https://api.intercom.io/contacts?per_page=50&page=2",
      "page":1,
      "per_page":50,
      "total_pages":7
   },
   "contacts":[
      {
         "type":"contact",
         "id":"aaaaaaaaaaaaaaaaaaaaaaaa",
         "user_id":"id-from-customers-app",
         "email":"bob@example.com",
         "name":"Joe Schmoe",
         "avatar":{
            "type":"avatar",
            "image_url":"https://graph.facebook.com/1/picture?width=24&height=24"
         },
         "app_id":"the-app-id",
         "created_at":1323422442,
         "custom_attributes":{
            "a":"b",
            "b":2
         },
         "companies":{
            "type":"company.list",
            "companies":[
               {
                  "type":"company",
                  "company_id":"123",
                  "id":"bbbbbbbbbbbbbbbbbbbbbbbb",
                  "app_id":"the-app-id",
                  "name":"Company 1",
                  "remote_created_at":1390936440,
                  "created_at":1401970114,
                  "updated_at":1401970114,
                  "last_request_at":1401970113,
                  "monthly_spend":0,
                  "session_count":0,
                  "user_count":1,
                  "tag_ids":[

                  ],
                  "custom_attributes":{
                     "category":"Tech"
                  }
               }
            ]
         },
         "session_count":123,
         "unsubscribed_from_emails":true,
         "last_request_at":1401970113,
         "remote_created_at":1393613864,
         "updated_at":1401970114,
         "user_agent_data":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11",
         "social_profiles":{
            "type":"social_profile.list",
            "social_profiles":[
               {
                  "type":"social_profile",
                  "name":"twitter",
                  "url":"http://twitter.com/abc",
                  "username":"abc",
                  "id":"1242"
               },
               {
                  "type":"social_profile",
                  "name":"twitter",
                  "username":"abc2",
                  "url":"http://twitter.com/abc2",
                  "id":"14242"
               },
               {
                  "type":"social_profile",
                  "name":"facebook",
                  "url":"http://facebook.com/abc",
                  "username":"abc",
                  "id":"1234242"
               },
               {
                  "type":"social_profile",
                  "name":"quora",
                  "url":"http://facebook.com/abc",
                  "username":"abc",
                  "id":"1234242"
               }
            ]
         },
         "location_data":{
            "type":"location_data",
            "city_name":"Dublin",
            "continent_code":"EU",
            "country_name":"Ireland",
            "latitude":"90",
            "longitude":"10",
            "postal_code":"IE",
            "region_name":"Europe",
            "timezone":"+1000",
            "country_code":"IRL"
         }
      }
   ],
   "total_count":314
}
