Fetch contacts using query string.