Logo
Menu

API

API KEY
YOUR_API_KEY
API URL
https://activate-api.smsverified.com/stubs/handler_api.php
getBalanceGet balance
Get user balance
Parameters
api_keyStringYour API KEY
actionStringgetBalance
Response type
text/html
Example request:
Example response:
ACCESS_BALANCE:44.60
getCountriesGet available countries
Get countries with available numbers
Parameters
api_keyStringYour API KEY
actionStringgetCountries
Response type
application/json
Example request:
Example response:
{
31: {
id: 48
rus: "Нидерланды"
eng: "Netherlands"
chn: "荷兰"
visible: 1
rent: 0
}
33: {
id: 78
rus: "Франция"
eng: "France"
chn: "法國"
visible: 1
rent: 0
}
}
getNumbersStatusGet available numbers information
Get information about available numbers for services
Parameters
api_keyStringYour API KEY
actionStringgetNumbersStatus
countryNumberID of the country
Response type
application/json
Example request:
Example response:
{
yahoo_0: 167
wolt_0: 416
telegram_0: 76
snapchat_0: 391
yemeksepeti_0: 416
amazon_0: 83
}
getNumberGet number for activation
Get number for activation. Returns response ACCESS_NUMBER:ACCESS_ID:NUMBER where ACCESS_ID is ID of the number and NUMBER is the number itself
Parameters
api_keyStringYour API KEY
actionStringgetNumber
countryNumberID of the country
serviceStringname of the service
Response type
text/html
Example request:
Example response:
ACCESS_NUMBER:8601705018416664:33774545375
getStatusGet activation code
This request returns a short code contained in SMS received by the specified number (to see the full text of the message, check getFullSms request). This request can be used when you're sure that no other information in message is worth to store or use in future, other than a code. Otherwise consider using getFullSms request.
Server response:
STATUS_OK:CODE - Code received (where CODE - activation code)
STATUS_WAIT_CODE - We are waiting for the arrival of SMS
STATUS_WAIT_RETRY:LASTCODE - We are waiting for another SMS LASTCODE - last received sms
STATUS_CANCEL - activation canceled
NO_ACTIVATION - activation is not found,
BAD_ACTION - invalid action
Parameters
api_keyStringYour API KEY
actionStringgetStatus
idNumberID of activation
Response type
text/html
Example request:
Example response:
STATUS_OK:877613
getFullSmsGet full sms
This request returns a full context of received SMS of a given number. You might want to use this request when provided by getStatus information is not enough to comprehence or you need some data that is contaied in the message, for example when SMS contains not only a verification code, but also the link for promocode, date and time of receipt or any other information that you want to use in your application. If there is an SMS, the response will be in the format: 'FULL_SMS:[sender] SMS_message'
Parameters
api_keyStringYour API KEY
actionStringgetFullSms
idNumberID of activation
Response type
text/html
Example request:
Example response:
FULL_SMS:[vk] 877613
setStatusUpdate activation status
This request allows you to change the status of the operation according to its results (cancel operation, get next SMS code, close operation). You might want to use this request when you want explicitly change the status of the operation, for example when your application needs to retrieve information from the second message received by this number.
Status code:
1 - inform when the phone number is ready (SMS was sent to this number),
3 - request digital code from the next message,
6 - close the operation
8 - Cancel the activation (if the number does not match you)
Server response:
ACCESS_READY - SMS waiting readiness
ACCESS_RETRY_GET - activation is successfully created, but the number is not ready yet,
ACCESS_ACTIVATION - Activation completed successfully
ACCESS_CANCEL - activation is canceled,
NO_ACTIVATION - activation is not found,
BAD_ACTION - invalid action
Parameters
api_keyStringYour API KEY
actionStringsetStatus
idNumberID of activation
statusNumberActivation status
Response type
text/html
Example request:
Example response:
ACCESS_ACTIVATION
Receive SMS