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

Case Review | How did Mafengwo build its brand IP?

There is a saying: Your success is not only deter...

Scientists discover new way to transport liquid in succulent plants

Produced by: Science Popularization China Author:...

Today is Grain Rain丨Late spring is coming to an end and early summer is coming

Grain Rain brings an end to the cold, tea smoke r...

iOS 9 Human Interface Guidelines: UI Design Basics

1.1 Designing for iOS iOS embodies the following ...

The next trend of smart hardware has not yet really appeared

Nowadays, there are too many entrepreneurial proj...

How to plan an event from 0 to 1?

As a planner and operator, online activities are ...

What can UCloud do to accelerate Chinese companies’ overseas expansion?

The original intention of globalization strategy ...