SMS API

SetPostbackEnabledForLicenseKeyResponse

This response is returned by the SetPostbackEnabledForLicenseKey method.

Type Properties

Property NameDescriptionData TypeSample
CountryOrigin country for number.StringUS
PhoneNumberNumber being checked for postback URL settings.String7575550000
PostbackEnabledIndicates whether the postback URL is enabled on number.BooleanTrue
PostbackTypeIndicates whether the postback URL is used for incoming messages, outgoing messages, or delivery receipts.

0 – AllPostback URL is used for all messages.
1 – DeliveryReceiptPostback URL is used for delivery receipts.
2 – IncomingMessagePostback URL is used for incoming messages.
3 – OutgoingMessagePostback URL is used for outgoing messages.
Enum0 – All
PostbackUrlThe URL to use for postbacks.Stringhttp://www.esendex.us/postback.aspx
ReturnCodeIndicates whether an error occurred due to the data in the request.

0 – NoErrorThe request was successful.
1 – InvalidLicenseKey
2 – InvalidUrl
3 – InvalidPhoneNumber
4 – InvalidPostbackType
5 – NotFound
6 – InvalidCountry
Enum0 – NoError

Let’s start sending, together.