Logo
Menu

API

API KEY
YOUR_API_KEY
API URL
https://activate-api.smsverified.com/stubs/handler_api.php
getBalance获取余额
获取用户余额
参数
api_keyStringYour API KEY
actionStringgetBalance
Response type
text/html
示例请求:
示例响应:
ACCESS_BALANCE:44.60
getCountries获取可用国家
获取有可用号码的国家
参数
api_keyStringYour API KEY
actionStringgetCountries
Response type
application/json
示例请求:
示例响应:
{
31: {
id: 48
rus: "Нидерланды"
eng: "Netherlands"
chn: "荷兰"
visible: 1
rent: 0
}
33: {
id: 78
rus: "Франция"
eng: "France"
chn: "法國"
visible: 1
rent: 0
}
}
getNumbersStatus获取可用号码信息
获取服务的可用号码信息
参数
api_keyStringYour API KEY
actionStringgetNumbersStatus
countryNumberID of the country
Response type
application/json
示例请求:
示例响应:
{
yahoo_0: 167
wolt_0: 416
telegram_0: 76
snapchat_0: 391
yemeksepeti_0: 416
amazon_0: 83
}
getNumber获取激活号码
获取激活号码。返回响应 ACCESS_NUMBER:ACCESS_ID:NUMBER,其中 ACCESS_ID 是号码的 ID,NUMBER 是号码本身
参数
api_keyStringYour API KEY
actionStringgetNumber
countryNumberID of the country
serviceStringname of the service
Response type
text/html
示例请求:
示例响应:
ACCESS_NUMBER:8601705018416664:33774545375
getStatus获取激活代码
此请求返回指定号码收到的短信中的短代码(要查看消息的全文,请检查 getFullSms 请求)。当您确定消息中没有其他值得存储或使用的信息时,可以使用此请求。否则,请考虑使用 getFullSms 请求。
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
参数
api_keyStringYour API KEY
actionStringgetStatus
idNumberID of activation
Response type
text/html
示例请求:
示例响应:
STATUS_OK:877613
getFullSms获取完整短信
此请求返回指定号码收到的完整短信内容。当 getStatus 提供的信息不足以理解或您需要消息中包含的数据时,例如当短信不仅包含验证码,还包含促销代码链接、接收的日期和时间或您希望在应用程序中使用的任何其他信息时,您可能需要使用此请求。 如果有短信,响应格式将是:'FULL_SMS:[sender] SMS_message'
参数
api_keyStringYour API KEY
actionStringgetFullSms
idNumberID of activation
Response type
text/html
示例请求:
示例响应:
FULL_SMS:[vk] 877613
setStatus更新激活状态
此请求允许您根据操作结果更改操作状态(取消操作,获取下一个短信代码,关闭操作)。当您的应用程序需要从此号码收到的第二条消息中检索信息时,您可能希望使用此请求来明确更改操作状态。
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
参数
api_keyStringYour API KEY
actionStringsetStatus
idNumberID of activation
statusNumberActivation status
Response type
text/html
示例请求:
示例响应:
ACCESS_ACTIVATION
接收短信