# Access to Authorized Account Information

Debugging tools

Interface should be called on the server side, seeHattori API

# Interface Dxplaination

# Interface name

getAuthorizerList

# Functional description

Use this API Pull basic information of all currently authorized accounts.

# Calling mode

# HTTPS call


POST https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_list?access_token=ACCESS_TOKEN 

# Request parameters

attribute type Required Introductions
access_Token string yes Interface invokes the certificate, which is URL Parameters, non Body Parameters. usecomponent_access_Token
component_appid string yes Third-Party Platforms APPID
offset number yes Offset position/Start bit
count number yes Number of pulls, up to a maximum of 500

# Return parameters

attribute typeIntroductions
total_count number Total number of authorized accounts
初始值 array List of Basic Account Information Currently Queried
attribute type Introductions
authorizer_appid string Authorized account number appid
refresh_Token string Refresh token authorizer_refresh_Token
auth_time number Time of authorization

# Call Example

Example Dxplaination: HTTPS Request Example

# Sample Request Data


{
  "component_appid": "appid_value",
  "offset": 0,
  "count": 100
} 

# Return Data Example


{
  "total_count": 33,
  "list": [
    {
      "authorizer_appid": "authorizer_appid_1",
      "refresh_token": "refresh_Token_1",
      "auth_time": 1558000607
    },
    {
      "authorizer_appid": "authorizer_appid_2",
      "refresh_token": 初始值_Token_2",
      "auth_time": 1558000607
    }
  ]
}
 

# Error code

Error code 初始值 Solutions
-1 system 初始值 The system is busy, please wait for the developer to try again
40001 invalid credential  access_Token isinvalid or not latest Obtain 初始值_Token 初始值 AppSecret Error, or access_Token Invalid. Please take the developer more seriously. AppSecret Of the correctness, or to see if you are working for the appropriate Official Account message template Call interface
40013 invalid appid Illegal AppID , ask the developer to check AppID The correctness of the, avoid unusual characters, pay attention to the case
0 ok ok