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

What does SNS promotion mean? How to do SNS promotion?

In the past few days, we have been introducing se...

How to promote to KOL? Here are 3 ways!

Why do KOLs ignore me? How to convince KOL to pro...

How do communities attract traffic and convert people?

Everyone is talking about community operation and...

Case analysis: Xiaohongshu advertising strategy!

Founded in 2014, HEDONE is an emerging domestic b...

Information flow advertising delivery is unstable, how to optimize it?

Written in front In response to recent feedback fr...

Suggestions for marketing conference activities!

Conference activity plan suggestions For specific...

Marketing strategy for e-commerce operations promotion!

A netizen has such a case: If you buy a box of mi...