SMS API
SimpleSMSsendWithPostback
This method sends an SMS message to one recipient. The API will automatically post information to the specified URL when text messages are sent or received. This method is deprecated: use SendMessage instead.
Endpoint
GET:https://messaging.esendex.us/messaging.svc/SimpleSMSsendWithPostback?PhoneNumber={PHONENUMBER}&Message={MESSAGE}&LicenseKey={LICENSEKEY}&StatusPostBackURL={STATUSPOSTBACKURL}
Syntax
SimpleSMSsendWithPostback(PhoneNumber, Message, LicenseKey, StatusPostBackURL)
Request Parameters
| Parameter Name | Description | Data Type | Required | Sample Value |
|---|---|---|---|---|
| PhoneNumber | Recipient number. | String | True | 7575550000 |
| LicenseKey | Your license key. | GUID | True | 00000000-0000-0000-0000-000000000000 |
| Message | Text content for the message. | String | True | This is a sample message. |
| StatusPostBackURL | URL to send postbacks to. | String | True | http://example.com/postback.aspx |
Response
Returns: SMSResponse object
Let’s start sending, together.