IP Address List
Back

From WeChat Official Account Admin Platform
Jump to: navigation, search

To better guarantee the security of API calls, developers can use this API to obtain the IP address list for WeChat Official Account System servers and API call limits.

Request Description

HTTP request method: GET
https://api.wechat.com/cgi-bin/getcallbackip?access_token=ACCESS_TOKEN

Parameter Description

Parameter Required Description
access_token Yes Access token of an official account

Return Description

An example of a successful JSON response is as follows:

{
    "ip_list":["127.0.0.1","127.0.0.1"]
}
Parameter Description
ip_list IP address list for WeChat Official Account System servers

An example of an unsuccessful JSON response (due to an invalid AppID) is as follows:

{"errcode":40013,"errmsg":"invalid appid"}

Return Codes

Developer Guide
Custom-defined Menu
WeChat JS-SDK