API Documents
Contents
    Loading
Documentation API Documents Get Account Information

Get Account Information

1. API Description

This API (User.Detail) is used to get account information.
Domain name for API request:https://dnsapi.cn/User.Detail
HTTP request method: POST

2. Request Parameters

The table below lists only the API request parameters. Common request parameters are required when the API is called. For more information, please see Common Request Parameters.

Parameter Required Description
Common Request Parameters yes 详见: Common Request Parameters

3. Response Codes

Only the response codes related to this API are listed below. For other response codes, please see Common Return Codes.

Response Code Description
Common Return Codes

4. Sample

curl -X POST https://api.dnspod.com/User.Detail -d 'user_token=730060,e1a8a$f14dc5dcbafd83680b3d2a553c4d553d&format=json'

The following is a sample response:

  • JSON:
{
    "status": {
        "code": "1",
        "message": "Action completed successful",
        "created_at": "2014-06-04 20:58:37"
    },
    "info": {
        "user": {
            "real_name": "",
            "user_type": "personal",
            "telephone": null,
            "im": null,
            "nick": "Yizero Mr",
            "id": "730060",
            "email": "yizero@qq.com",
            "status": "enabled",
            "email_verified": "no",
            "telephone_verified": "no",
            "weixin_binded": "no",
            "agent_pending": false,
            "balance": 0,
            "smsbalance": 0
        }
    }
}
Last updated on 2020-12-23 07:16