查賬戶信息
HTTP 頭信息:
Accept:application/json;charset=utf-8; Content-Type:application/x-www-form-urlencoded;charset=utf-8;
請(qǐng)求
URL:https://sms.yunpian.com/v2/user/get.json 注意:海外服務(wù)器地址 us.yunpian.com 訪問(wèn)方式:POST
請(qǐng)求參數(shù)
參數(shù)名 | 類型 | 是否必須 | 描述 | 示例 |
apikey | string | 是 | 用戶唯一標(biāo)識(shí),在"賬號(hào)設(shè)置"-"子帳號(hào)管理"中查看 | 9b11127a9701975c734b8aee81ee3526 |
響應(yīng)
名稱 | 類型 | 說(shuō)明 | 示例 |
nick | string | 用戶昵稱 | “zhangshan” |
gmt_created | string | 賬號(hào)創(chuàng)建時(shí)間 | "2012-09-11 15:14:00" |
mobile | string | 手機(jī)號(hào) | "13812341234" |
string | 郵箱 | "zhangshan@company.com" | |
ip_whitelist | string | IP 白名單,推薦使用 | null |
api_version | string | 調(diào)用 api 版本 | "v1" |
balance | float | 剩余金額 | 1000 |
alarm_balance | string | 剩余金額低于該值時(shí)提醒 | 100 |
emergency_contact | string | 緊急聯(lián)系人 | "張三" |
emergency_mobile | string | 緊急聯(lián)系人電話 | "13812341234" |
Json 響應(yīng)示例:
{ "nick": "zhangshan", "gmt_created": "2012-09-11 15:14:00", "mobile": "13812341234", "email": "zhangshan@company.com", "ip_whitelist": null, "api_version": "v1", "balance": 1000, "alarm_balance": 100, "emergency_contact": "張三", "emergency_mobile": "13812341234" }