getBalance
获取余额
资料描述
获取用户余额
参数
| 名称 | 类型 | 资料描述 |
|---|---|---|
| api_key | String | Your API KEY |
| action | String | getBalance |
响应类型
text/html示例请求
https://activate-api.smsverified.com/stubs/handler_api.php?api_key=API_KEY&action=getBalance示例响应
ACCESS_BALANCE:44.60
获取余额
获取用户余额
| 名称 | 类型 | 资料描述 |
|---|---|---|
| api_key | String | Your API KEY |
| action | String | getBalance |
text/htmlhttps://activate-api.smsverified.com/stubs/handler_api.php?api_key=API_KEY&action=getBalanceACCESS_BALANCE:44.60
获取可用国家
获取有可用号码的国家
| 名称 | 类型 | 资料描述 |
|---|---|---|
| api_key | String | Your API KEY |
| action | String | getCountries |
application/jsonhttps://activate-api.smsverified.com/stubs/handler_api.php?api_key=API_KEY&action=getCountries{
"31": {
"id": 48,
"rus": "Нидерланды",
"eng": "Netherlands",
"chn": "荷兰",
"visible": 1,
"rent": 0
},
"33": {
"id": 78,
"rus": "Франция",
"eng": "France",
"chn": "法國",
"visible": 1,
"rent": 0
}
}获取可用号码信息
获取服务的可用号码信息
| 名称 | 类型 | 资料描述 |
|---|---|---|
| api_key | String | Your API KEY |
| action | String | getNumbersStatus |
| country | Number | ID of the country |
application/jsonhttps://activate-api.smsverified.com/stubs/handler_api.php?api_key=API_KEY&action=getNumbersStatus&country=78{
"yahoo_0": 167,
"wolt_0": 416,
"telegram_0": 76,
"snapchat_0": 391,
"yemeksepeti_0": 416,
"amazon_0": 83
}获取激活号码
获取激活号码。返回响应 ACCESS_NUMBER:ACCESS_ID:NUMBER,其中 ACCESS_ID 是号码的 ID,NUMBER 是号码本身
| 名称 | 类型 | 资料描述 |
|---|---|---|
| api_key | String | Your API KEY |
| action | String | getNumber |
| country | Number | ID of the country |
| service | String | name of the service |
| maxPrice | Number | maximum price for the number in USD (for example 1.2) |
| activationType | Number | activation type (0 - receive SMS (code in SMS); 1 - call (code as the calling number); 2 - voice message (the robot calls and the code is spoken by the robot voice)). Default is 0 - SMS |
text/htmlhttps://activate-api.smsverified.com/stubs/handler_api.php?api_key=API_KEY&action=getNumber&country=48&service=vkACCESS_NUMBER:8601705018416664:33774545375
获取激活代码
此请求返回指定号码收到的短信中的短代码(要查看消息的全文,请检查 getFullSms 请求)。当您确定消息中没有其他值得存储或使用的信息时,可以使用此请求。否则,请考虑使用 getFullSms 请求。
| 名称 | 类型 | 资料描述 |
|---|---|---|
| api_key | String | Your API KEY |
| action | String | getStatus |
| id | Number | ID of activation |
text/htmlhttps://activate-api.smsverified.com/stubs/handler_api.php?api_key=API_KEY&action=getStatus&id=2791705004917001STATUS_OK:877613
获取完整短信
此请求返回指定号码收到的完整短信内容。当 getStatus 提供的信息不足以理解或您需要消息中包含的数据时,例如当短信不仅包含验证码,还包含促销代码链接、接收的日期和时间或您希望在应用程序中使用的任何其他信息时,您可能需要使用此请求。 如果有短信,响应格式将是:'FULL_SMS:[sender] SMS_message'
| 名称 | 类型 | 资料描述 |
|---|---|---|
| api_key | String | Your API KEY |
| action | String | getFullSms |
| id | Number | ID of activation |
text/htmlhttps://activate-api.smsverified.com/stubs/handler_api.php?api_key=API_KEY&action=getFullSms&id=2791705004917001FULL_SMS:[vk] 877613
更新激活状态
此请求允许您根据操作结果更改操作状态(取消操作,获取下一个短信代码,关闭操作)。当您的应用程序需要从此号码收到的第二条消息中检索信息时,您可能希望使用此请求来明确更改操作状态。
| 名称 | 类型 | 资料描述 |
|---|---|---|
| api_key | String | Your API KEY |
| action | String | setStatus |
| id | Number | ID of activation |
| status | Number | Activation status |
text/htmlhttps://activate-api.smsverified.com/stubs/handler_api.php?api_key=API_KEY&action=setStatus&id=2791705004917001&status=1ACCESS_ACTIVATION
Getting information about prices.
Getting information about prices. Returns JSON {Country: {Service: {cost: Cost, count: Count}}}
| 名称 | 类型 | 资料描述 |
|---|---|---|
| api_key | String | Your API KEY |
| action | String | getPrices |
application/jsonhttps://activate-api.smsverified.com/stubs/handler_api.php?api_key=API_KEY&action=getPrices{
"england": {
"mb": {
"count": 4123,
"price": 0.4
},
"am": {
"count": 4017,
"price": 0.11
}
},
"france": {
"mb": {
"count": 2123,
"price": 0.13
},
"am": {
"count": 2014,
"price": 0.2
}
}
}