Skip to content

API Examples

Phone terminated messages

Send a voice message

A complete URL for sending “Hello World” to the subscriber with number +46701234567 is given below. Pasting this URL into a web browser and pressing Enter creates the correct GET-request and sends it to the specified host and port.


If everything is correct the web browser will display a message similar to the one given below.


The next example shows how to send åäö URL encoded.


Delivery reports

The message below is an example of a HTTP request sent from Spirius, containing the delivery report for transaction id bc757d8a-a0db-4e0d-a388-bf6d6eee0d87.

You will receive a delivery report each time the user listens to the message. If the user chooses “listen to the message again” once, you will get two delivery reports. The last one has the Sequence parameter set to end.

GET /dlrReport HTTP/1.1