查账户信息

HTTP头信息:

  1. Accept:application/json;charset=utf-8;
  2. Content-Type:application/x-www-form-urlencoded;charset=utf-8;

请求

URL:https://sms.yunpian.com/v2/user/get.json

注意:海外服务器地址 us.yunpian.com

访问方式:POST

请求参数

参数名类型是否必须描述示例
apikeystring用户唯一标识9b11127a9701975c734b8aee81ee3526

响应

名称类型说明示例
nickstring用户昵称“zhangshan”
gmt_createdstring账号创建时间"2012-09-11 15:14:00"
mobilestring手机号"13812341234"
emailstring邮箱"zhangshan@company.com"
ip_whiteliststringIP白名单,推荐使用null
api_versionstring调用api版本"v1"
balancefloat账户剩余条数或者剩余金额(根据账户类型)1000
alarm_balancestring剩余条数或剩余金额低于该值时提醒100
emergency_contactstring紧急联系人"张三"
emergency_mobilestring紧急联系人电话"13812341234"

Json 响应示例:

  1. {
  2. "nick": "zhangshan",
  3. "gmt_created": "2012-09-11 15:14:00",
  4. "mobile": "13812341234",
  5. "email": "zhangshan@company.com",
  6. "ip_whitelist": null,
  7. "api_version": "v1",
  8. "balance": 1000,
  9. "alarm_balance": 100,
  10. "emergency_contact": "张三",
  11. "emergency_mobile": "13812341234"
  12. }