# Mini Program name detection
Interface should be called on the server side, seeHattori API。
# Interface Dxplaination
# Interface name
checkNickName
# Functional description
Call This API You can check whether the WeChat authentication name conforms to the rules. If you encounter problems during use, you canOpen Platform Service Provider ZonePosting exchanges
# Note
This interface is only allowed by Mini Programs created through the API.
# Calling mode
# HTTPS call
POST https://api.weixin.qq.com/cgi-bin/wxverify/checkwxverifynickname?access_token=ACCESS_TOKEN
# Third Party Invocation
The calling method and parameters are the same as HTTPS, only the calling token is different
The permission sets to which this interface belongs are: 3, 31, 62
After the service provider has been authorized with one of the permission sets, it can do so by usingauthorizer_access_TokenCalling on behalf of the merchant
# Request parameters
attribute | type | Required | Introductions |
---|---|---|---|
access_Token | string | yes | Interface invokes the certificate, which is URL Parameters, non Body Parameters. useauthorizer_access_Token |
nick_name | string | yes | Name (nickname) |
# Return parameters
attribute | type | Introductions |
---|---|---|
errcode | number | Return code |
errmsg | string | Error message |
hit_condition | boolean | Whether to hit the keyword policy. If it hits, you can fill in the keyword material |
wording | string | Dxplaination of Hit Keyword |
# Call Example
Example Dxplaination: HTTPS requests
# Sample Request Data
{
"nick_name": "Tencent "
}
# Return Data Example
{
"errcode": 0,
"errmsg": "ok",
"hit_condition": true,
"wording": "The name you apply for may involve the name or name of a specific subject, please provide materials that can confirm the subject material corresponds to the name, or provide other materials such as the Trademark Registration Certificate to prove that you have the right to use the name in a reasonable and good faith, otherwise it may not pass the review."
}
# 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 |
53010 | nickname invalid | Name format is illegal |
53011 | check nickname too frequently | Name Detection Hit Frequency Limit |
53012 | nickname ban | The use of the name is prohibited |
53013 | nickname has been occupied | Official Account message template: Name and existing Official Account message template Name RepetitionMini Program: This name repeats the name of an existing Mini Program |
53014 | nickname has been occupied | Official Account message template:Official Account message template Already have {name A +}, the same subject as the account can apply for {name A}Mini Program: The Mini Program already has {name A +}, the same subject as the account can apply for {name A} |
53015 | nickname has been occupied | Official Account message template: The name is duplicated with the name of the existing Mini Program, and the same principal as the Mini Program account can be applied for.Mini Program: The name is the same as the name of the existing Official Account message template The name is repeated, with the Official Account message template The same number applies. |
53016 | nickname has been occupied | Official Account message template: This name is the same as the name of multiple Mini programs, and the application is not supported.Mini Program: This name is associated with a number of Official Account message template Name is repeated, the application is not supported |
53017 | nickname has been occupied | Official Account message template: The Mini Program already has {name A +}, the same subject as the account can apply for {name A}Mini Program: Official Account message template Already have {name A +}, the same subject as the account can apply for {name A} |
53018 | Name hit microphone | |
53019 | Name during the term of protection |