//-- Intent: gets the list of contacts in the contact list with ListCode 123456 sorted by Phone. --// //-- This will return the first 5 rows. --// $.ajax({ type: "GET", headers: {"SwiftAPI-Key": "12345"}, contentType: "application/json; charset=utf-8", url: "http://api.v4.swiftreach.com/api/ContactLists/Contacts/List/123456/1/5/Phone/DESC", dataType: "json" success: function(result) { // Do something with the result } });