账户信息查询
URL: https://api.dingdongcloud.com/v2/user/get
请求
访问方式:GET/POST (推荐POST)
http支持:支持https 与 http 两种访问,建议使用https
请求参数
参数名 |
类型 |
是否必填 |
描述 |
示例 |
apikey |
String |
是 |
账户唯一标识符 |
fe7e701f21645f35d62b95df8c85493f |
用户信息参数
名称 |
类型 |
描述 |
account |
String |
注册号码 |
warnSmsCount |
String |
短信余额警告条数 |
whiteIps |
String |
ip白名单 |
serviceInfo |
List |
产品信息 |
产品信息参数
名称 |
类型 |
描述 |
smsType |
Integer |
短信类型(1通知 2营销 3验证码) |
balance |
Long |
短信剩余条数 |
warnSmsCount |
Long |
短信告警条数 |
Json返回示例
{
"code": 1,
"msg": "成功",
"result": {
"account": "123456789011",
"whiteIps": "",
"serviceInfo": [
{
"smsType": 1,
"balance": "102",
"warnSmsCount": 500
},
{
"smsType": 2,
"balance": "182",
"warnSmsCount": 500
},
{
"smsType": 3,
"balance": "43",
"warnSmsCount": 99
}
]
},
"count": 0
}