Basic interface - Get the WeChat server IP address

Basic interface - Get the WeChat server IP address

If the official account needs to know the IP address list of the WeChat server for security reasons in order to make relevant restrictions, you can use this interface to obtain the WeChat server IP address list.

Interface call request description

http request method: GET
https://api.weixin.qq.com/cgi-bin/getcallbackip?access_token=ACCESS_TOKEN

Parameter Description

Return Description

Under normal circumstances, WeChat will return the following JSON data packet to the official account:

  1. {
  2. "ip_list" :[ "127.0.0.1" , "127.0.0.1" ]
  3. }

When an error occurs, WeChat will return an error code and other information. An example of a JSON data packet is as follows (this example is an invalid AppID error):

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

<<:  Basic API - Get access token

>>:  APICloud builds an ecosystem to accelerate mobile development

Recommend

From artificial intelligence to Landau School, what have we lost in these years?

From artificial intelligence to Landau School, wh...

BYD: BYD has applied for more than 48,000 patents worldwide

According to recent news, BYD released an announc...

Who broke Facebook? It was me! It was me!

[[126994]] In response to the one-hour outage on ...

5 ways to acquire 10 million users at low cost using mini programs

In the first quarter of 2017, the number of WeCha...

What effect does sound have on photosynthesis in plant leaves?

As animals, it is not only us humans who are sens...

What procedures are required to apply for a 400 telephone number?

What procedures are required to apply for a 400 t...

How to speed up NFC development?

In 2014, thanks to Apple's participation, NFC...

iOS 16 was revealed to have an abnormal Apple ID login bug

It has been more than a month since the release o...

When we see it everywhere, we know spring has really come.

Audit expert: Li Guangwang Director of the Natura...