# Getting the Authorizer's Option Information

This API is used to get the option setting information of the authorizer's Official Account/Mini Program, such as the location report option, voice recognition on/off option, and multi-customer service on/off option.

Note: The authorizer must grant authorization to obtain option setting information. For details, see the permission set description.

# Request Address

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

# Request Parameters

Parameter Type Required Description
component_access_token string Yes Token
component_appid string Yes Third-party platform's AppID
authorizer_appid string Yes The AppID of the authorized Official Account or Mini Program
option_name string Yes Option name

POST data example:

{
  "component_appid": "appid_value",
  "authorizer_appid": "auth_appid_value ",
  "option_name": "option_name_value"
}

# Response Parameters

Parameter Type Description
authorizer_appid string The AppID of the authorized Official Account or Mini Program
option_name string Option name
option_value string Option value

Example of returned result

{
  "authorizer_appid": "wx7bc5ba58cabd00f4",
  "option_name": "voice_recognize",
  "option_value": "1"
}

# Option name and value description

option_name Option Name Description option_value Option Value Description
location_report Location report option 0 No report
1 Report when entering chat
2 Report every 5 seconds
voice_recognize Voice recognition on/off option 0 Disable voice recognition
1 Enable voice recognition
customer_service Multi-customer service on/off option 0 Disable multi-customer service
1 Enable multi-customer service