SMS API
SetPostbackEnabledForLicenseKeyResponse
This response is returned by the SetPostbackEnabledForLicenseKey
method.
Type Properties
Property Name | Description | Data Type | Sample |
---|---|---|---|
Country | Origin country for number. | String | US |
PhoneNumber | Number being checked for postback URL settings. | String | 7575550000 |
PostbackEnabled | Indicates whether the postback URL is enabled on number. | Boolean | True |
PostbackType | Indicates 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. | Enum | 0 – All |
PostbackUrl | The URL to use for postbacks. | String | http://www.esendex.us/postback.aspx |
ReturnCode | Indicates 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 | Enum | 0 – NoError |
Let’s start sending, together.