Skip to main content

Requesting the results of an asynchronous task

Example of requesting the results of an asynchronous task. Once the sms is set to send, you can request the status of task completion. For each task, the results of execution are stored for 12 hours.

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">
<job>8714ea91e9bb454d25ef42ba6f18ea4e</job>
</package>

Response examples

HTTP Status Code: 200
Content Type: JSON application/json

<?xml version="1.0" encoding="utf-8" ?>
<package>
<job>
<progress>50</progress>
<status>RUNNING</status>
</job>
</package>