API Documentation
API Documentation
API Documentation
HTTP Method | GET |
Format Respon | JSON |
API URL | https://virtusim.com/api/json.php |
Contoh Script PHP | EXAMPLE SCRIPT |
Displaying Service List
Parameter | Information |
---|---|
api_key | Your API Key. |
action | services |
URL | https://virtusim.com/api/json.php?api_key={{YOUR API KEY}}&action=services&country=indo |
Example of Response Displayed
Successful Response | Response Failed |
---|---|
| { Possible messages displayed:
|
Order Number
Parameter | Information |
---|---|
api_key | Your API Key. |
action | order |
service | Service ID, can be seen in the Service List . |
operator | telkomsel,axis,indosat,any(random) |
URL | https://virtusim.com/api/json.php?api_key={{YOUR API KEY}}&action=order&service={{IDSERVICE}}&operator=any |
Example of Response Displayed
Successful Response | Response Failed |
---|---|
| { Possible messages displayed:
|
Change Number Status
Parameter | Information |
---|---|
api_key | Your API Key. |
action | set_status |
id | Order ID |
status | 1 = Ready , 2 = Cancel , 3 = Resend, 4 = Finished |
URL | https://virtusim.com/api/json.php?api_key={{YOUR API KEY}}&action=set_status&id={{ORDERID}}&status=1 |
Example of Response Displayed
Successful Response | Response Failed |
---|---|
{ | { Possible messages displayed:
|
Check Active Order SMS
Parameter | Information |
---|---|
api_key | Your API Key. |
action | active_order |
URL | https://virtusim.com/api/json.php?api_key={{YOUR API KEY}}&action=active_order |
Example of Response Displayed
Successful Response | Response Failed |
---|---|
{ | { Possible messages displayed:
|
Check Order Status
Parameter | Information |
---|---|
api_key | Your API Key. |
action | status |
id | Order ID. |
URL | https://virtusim.com/api/json.php?api_key={{YOUR API KEY}}&action=status&id={{ORDERID}} |
Example of Response Displayed
Successful Response | Response Failed |
---|---|
{ Possible statuses displayed:
| { Possible messages displayed:
|