Request Structure#
Interaction with the Platform#
To send a message to a subscriber, the Partner makes a request to a specific URL of the Service Provider using an HTTP GET or POST method, in which they provide the subscriber’s number, the message text, and other parameters.
The Service Provider receives the request, processes it, sends a message to the subscriber and returns the message ID to the Partner.
A separate HTTP request is used to get the delivery status (see Delivery Status Service).
Interaction Structure#
Request methods: POST or GET;
protocol version: HTTP 1.1;
URI;
interaction mode: synchronous;
the HTTP request may contain the header Connection: Keep-Alive. It is used to work through a single connection instead of opening/closing a new connection for each request-response pair;
for POST requests, the Content-Type must be set in application/x-www-form-urlencoded;
character encoding: UTF-8 (recommended).
The encoding must respond the following requirements:
Submit.