API BASIC
API URL https://receivesmsotp.com/web_api
HTTP Method POST
Response format JSON
Important Get SMS through the callback address, you can set the SMS callback address at Buy Number/History the information will be notified to your URL in real time
API TOKEN 请先登录
Get User Information URL: getUserInfo
Parameter Example Required
api_token xxxxxxxxx
Example response
{
	"code": 0,
	"data": {
		"name": "icdef",
		"email": "xxxx@qq.com",
		"amount": "2999.97"
	}
}
                    
Get User Information URL: getProjectList
Example response
{
	"code": 0,
	"data": [{
		"name": "All(所有項目)",
		"amount": "0.25",
		"first_letter": "A"
	}, {
		"name": "知乎",
		"amount": "0.03",
		"first_letter": "Z"
	}]
}
                    
Buy Number URL: buyNumber
Parameter Example Required
api_token xxxxxxxxx
project 1
country USA
num 1
Example response
ERROR RESPONSE
{
	"code": -1,
	"message": "error"
}
SUCCESS RESPONSE
{
	"code": 0,
	"data": {}
}
                    
My Number URL: myNumber
Parameter Example Required
api_token xxxxxxxxx
Example response
{
	"code": 0,
	"data": [{
		"id": 1,
		"phone": "15672630810",
		"start_time": "2022-07-25 11:00:33",
		"end_time": "2022-08-04 11:00:33",
		"project_name": "\u77e5\u4e4e"
	}]
}