# Get Authorization Account Call Token

Interface should be called on the server side, seeHattori API

# Interface Dxplaination

# Interface name

getAuthorizerAccessToken

# Functional description

This interface is used to obtain the authorizer of the authorized account_access_token。authorizer_access_Token Valid for 2 Hours, authorizer_access_Token Failure, you can use the authorizer_refresh_Token Get the new authorizer_access_token。 If you encounter problems during use, you canOpen Platform Service Provider ZonePosting exchanges.

# Note

# Calling mode

# HTTPS call


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

# Request parameters

attribute type Required Introductions
component_access_Token string yes Third Party Platform Interface Invocation Vouchercomponent_access_TokenThis parameter is URL Parameters, non Body Parameters.
component_appid string yes Third-Party Platforms appid
authorizer_appid string yes Authorized Party appid
authorizer_refresh_Token string yes Refresh Token,Access to Authorization InformationWhen get

# Return parameters

attribute type Introductions
authorizer_access_Token string Authorized Party Token
expires_in number Duration, in seconds
authorizer_refresh_Token string Refresh Token

# Call Example

Example Dxplaination: HTTPS requests

# Sample Request Data


{
  "component_appid": "appid_value",
  "authorizer_appid": "auth_appid_value",
  "authorizer_refresh_token": "refresh_Token_value"
} 

# Return Data Example


{
  "authorizer_access_token": "some-access-token",
  "expires_in": 7200,
  "authorizer_refresh_token": "refresh_Token_value"
} 

# Error code

Error code Error code Solutions
-1 system error The system is busy, please wait for the developer to try again
40001 invalid credential  access_Token isinvalid or not latest Obtain access_Token time 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