SMS messages may be originated and routed through our gateway using a standard Web browser or through any application or environment that can issue a HTTP request. The gateway supports a CGI interface that accepts a defined set of parameters for sending SMS messages. A typical URL for to send an SMS message submission might look like (wrapped for readability) this:
Other parameters available to the http interface are:
- username The username of the application or user of the http interface.
- password The password associated with the username.
- from The sender MSISDN of the SMS message. Note that this may be replaced
- to The recipient MSISDN of the SMS message.
- text The text of the SMS message.
- udh User Data Header string value (ASCII hex encoded)
- dcs The data coding scheme (DCS) of the message
- mclass Sets the message class value of the DCS field (used with FlashSMS).
- mwi Sets the message waiting indicator value of the DCS field.
- coding flags the message as encoded for 7 bit or 8 bit or UCS-2.
- compress indicates whether the message text is compressed.
- validity defines the period in which the SMSC attempts delivery of the message.
- deferred instructs the SMSC to deliver of the message after the deferred period has elapsed.
- dlrmask Sets the notification request mask for the message.
- dlrurl Sets the callback URL for delivery notifications.