//-- Intent: send the pager message with pagercode of 100000 to --// //-- an array of contacts posted in the body of the request --// //-- and name the alert "My Test Alert" --// var jsonString = ' \ [{ \ "EntityName":"Sample One", \ "EntityGuid":"a44667cf-e4e5-4f28-b4e2-948ba2065c09", \ "Pager":"5551234567", \ "SMSNetwork":"0", \ "PagerNetwork":"1" \ },{ \ "EntityName":"Sample Two", \ "EntityGuid":"a44667cf-e4e5-4f28-b4e2-948ba2065c09", \ "Pager":"5551234567", \ "SMSNetwork":"0", \ "PagerNetwork":"7" \ }]'; $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", headers: {"SwiftAPI-Key": "12345"}, url: "http://api.v4.swiftreach.com/api/Messages/Pager/Send/MY%20Test%20Alert/100000", data: jsonString, dataType: "json" success: function(result) { // Do something with the result } }); <!-- example return value --> 123456