//-- Intent: create a new contact list --// var jsonString = ' \ { \ "ListName":"Peter Test", \ "ListType":0, \ "Description":"Peter Test", \ "ExposeHomePortal":false, \ "ExposeVisitorPortal":false, \ "DeleteLocked":false, \ "SubscriptionRequiresApproval":false, \ "PendingApprovalCount":0 \ }'; $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", headers: {"SwiftAPI-Key": "12345"}, url: "http://api.v4.swiftreach.com/api/ContactLists/Create", data: jsonString, dataType: "json" success: function(result) { // Do something with the result } }); <!-- example return value --> 123456