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

Introduction to OPPO App Store Search Ads

FAQ - Search Ads Q1: Where are the ads in search ...

How to send birthday wishes to Africans?

African people shouting video production , Africa...

The most complete! New product launch event process planning plan!

The most important thing about an event is to hav...

5 ideas for online marketing promotion!

After years of development, online marketing has ...

Is running 800 meters a nightmare? Learn this trick to run easily

Recently, many universities have conducted physic...

Must-know tools for defect tracking, testing, parallel programming, etc.

Defect Tracking 1. Bugzilla This bug tracking sof...