Accounts

Get Account Information

URL:
HTTP Request Type:
  • POST
Request Parameters:
  • Global Parameters
Response Code:
  • Common Response Codes

Example:

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

Response Example:

  • 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
            }
        }
    }
    

Get The Account’s Operate Log

URL:
HTTP Request Type:
  • POST
Request Parameters:
  • Global Parameters
Response Code:
  • Common Response Codes

Example:

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

Response Example:

  • JSON:

    {
        "status": {
            "code": "1",
            "message": "Action completed successful",
            "created_at": "2014-06-04 21:09:50"
        },
        "log": [
            "There is no user logs at the moment."
        ]
    }
    

Table Of Contents

Previous topic

API Explanation

Next topic

Domains

This Page