Skip to content

GetRepliesToMessage

Get a list of incoming messages which have been matched to the given outbound message ID.

// uses JQuery library
var postUrl =
'https://secure.smsgateway.ca/services/incoming.svc/' +
accountKey +
'/replies/' +
messageId;
$.ajax({
url: postUrl,
method: 'GET',
contentType: 'application/json;charset=UTF-8',
})
.done(function (response) {
alert(response);
})
.error(function (xhr, textStatus, errorThrown) {
alert(xhr.responseText);
});

HTTP Request

GET:

/services/incoming.svc/:accountKey/replies/:messageId
ParameterDescriptionLocation
AccountKeyYour Swift SMS Gateway account keyURL
MessageIDOutgoing Message ID of message to retrieve replies toURL

Returns

Array of SMSIncomingMessage.