//-- Intent: verifies a contact with the given EntityGuid exists on list with listcode of 123456 --//


$.ajax({
  type: "GET",
  headers: {"SwiftAPI-Key": "12345"},
  contentType: "application/json; charset=utf-8",
  url: "http://api.v4.swiftreach.com/api/ContactLists/Contacts/Exists/123456/736c8340-e23b-4c23-aaa1-f55cfdb391bb",
  dataType: "json"
  success: function(result) {
        // Do something with the result
    }

});

<!-- example return value -->
true