|
The MT SMS API provides functionality for sending SMS messages to one or more recipients. The call is triggered by either an HTTP GET or POST request to the following address: http://gw1.roottori.fi/eapi/push
In both the POST and GET variants, the following parameters can, and in some cases must be provided as parameters to the HTTP request (i.e. in the query string part of the request URL). These parameters must be latin-1 (ISO-8859-1) encoded. The parameters are:
When triggered using HTTP GET, the request should also include the message content in the URL as follows:
The HTTP POST method reads the content from the request body, according to the content-type specified on the request. This makes it possible to submit characters that are not part of the latin-1 character set (e.g. the Euro sign). It is highly recommended that the HTTP POST variant is used (with UTF-8 encoding). All other parameters should be passed as requests parameters (as described above), except the actual message payload. A Content-Type HTTP header should be set based on the type of content that is provided, and the actual content should be placed directly in the request body. The supported content-types are:
The message payload can both in the POST and GET cases exceed the limits of one SMS message (e.g. 160 characters or 140 bytes). The gateway will automatically concatenate the messages, and report in its response how many parts were sent. Note that Unicode messages are currently not supported, and all textual messages are reduced to match the GSM 03.38 alphabet if needed. |
Sending SMS messages
(None)