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

Why does it take so long for Apple's AirPods headphones?

If we talk about Apple's most entangled access...

It only takes 5 minutes to teach you how to play Super Fan Pass

On September 21, Weibo launched a new information...

How to increase the activation rate of information flow advertising?

How to increase activation volume ? Similar quest...

Android app automatic updates

Source code introduction Automatic updates are po...

Remember to get up early during these three days next week!

Mars and Saturn are good brothers? April 5 Mars a...

Top 10 Computer Malware Rankings Have you been attacked?

Internet security company Check Point recently re...

6 ways to attract traffic and monetize private communities!

Private domain operations have gradually become a...

International Energy Agency: Energy Efficiency Report 2023

The International Energy Agency has released its ...