Cost of sending an SMS
Example of a request to receive the cost of sending one part of SMS message to the specified number.
URI: /api/xml.php
All requests to API are sent in XML format using the POST method.
Request example
<?xml version="1.0" encoding="utf-8" ?>
<package key="bb56a4369eb19***cfec6d1776bd25">
<prices>
<phone>+380971234567</phone>
<phone>+380501234567</phone>
</prices>
</package>
Response parameters
Response examples
- Successful
HTTP Status Code: 200
Content Type: JSON application/json
<?xml version="1.0" encoding="utf-8" ?>
<package>
<prices>
<phone price="0.28" currency="UAH">+380971234567</phone>
<phone price="1.6" currency="UAH">+380501234567</phone>
</prices>
</package>