#Get activation status
https://sms-online.pro/stubs/handler_api.php?action=getStatus&api_key=$api_key&id=$id
#Parameters:
Parameters |
Type |
Required |
Description |
$api_key |
string |
☑️ |
API key |
$id |
integer |
☑️ |
Activation ID |
#Response:
Response message |
Description |
STATUS_WAIT_CODE |
Waiting for sms |
STATUS_CANCEL |
Activation canceled |
STATUS_OK:$code |
Code received, $code contains code from SMS |
STATUS_WAIT_RETRY:$code |
Waiting for code clarification, $code contains code from previous SMS |
#Possible errors:
Mistake |
Description |
NO_ACTIVATION |
Activation ID does not exist |
BAD_ACTION |
Incorrect action |
BAD_KEY |
Invalid API key |
ERROR_SQL |
SQL-server error |