//-- Intent: verify that the given audio file recording fragment 200123 exists for --// //-- voice message with voicecode of 100000 --// $.ajax({ type: "GET", contentType: "application/json; charset=utf-8", headers: {"SwiftAPI-Key": "12345"}, url: "http://api.v4.swiftreach.com/api/Messages/Voice/IsFragmentRecorded/100000/200123", dataType: "json" success: function(result) { // Do something with the result } }); <!-- example return value --> true