# 用户信息
你可以使用 API 查询用户信息.
# 查询
URL
https://api2.sendcloud.net/api/userinfo/get
1
HTTP请求方式
post get
1
参数说明
参数 | 类型 | 必须 | 说明 |
---|---|---|---|
apiUser | string | 是 | API_USER |
apiKey | string | 是 | API_KEY |
请求示例
http://api2.sendcloud.net/api/userinfo/get?apiUser=***&apiKey=***
1
返回值说明
参数 | 说明 |
---|---|
restNum | 可用余数 |
restFlowSize | 超出流量大小(计算方式为:总使用流量-邮件封数*200K) |
邮箱地址 | |
quota | 当天请求额度 |
todayUsedQuota | 当天已使用的额度 |
regTime | 注册时间 |
reputation | 信誉度 |
userName | 用户名 |
accountType | 账号类型 |
返回值示例
{
"result": true,
"statusCode": 200,
"message": "request was successful",
"info": {
"restNum": 40,
"restFlowSize": 44,
"quota": 2500,
"regTime": "2013-03-28",
"email": "***",
"reputation": 50.26,
"accountType": "paid user",
"userName": "***",
"todayUsedQuota": 2
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16