You need to enable JavaScript to run this app.
Volcengine Managed Service for Prometheus

Volcengine Managed Service for Prometheus

Copy page
Download PDF
Contact person
TestWeComBotWebhook
Copy page
Download PDF
TestWeComBotWebhook
Test the connectivity of the WeCom group bot.​
Request descriptions​
Volcengine Managed Service for Prometheus has been deployed in multiple regions worldwide, aiming to provide you with an experience of higher stability and lower latency. You can choose an access point that is the most optimal for the region of your services according to the Service addresses document.​
  • Request method: POST​
  • Request URL: https://vmp.cn-beijing.volcengineapi.com/?Action=TestWeComBotWebhook&Version=2021-03-03​
Request parameters​
​
Parameter​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
TestWeComBotWebhook​
API name. The API name is TestWeComBotWebhook.​
Version​
String​
Yes​
2021-03-03​
API version. The API version is 2021-03-03.​
Address​
String​
Yes​
https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=***​
The Webhook address of the WeCom group bot. See User Guide for details.​
AtUserIds​
Array of String​
No​
["********"]​
The ID of the user to be @mentioned. The user must be a member of the group.​
​
Sample requests​
​
POST https://vmp.cn-beijing.volcengineapi.com/?Action=TestWeComBotWebhook&Version=2021-03-03​
Content-Type: application/json​
{​
"Address": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxxxxxx",​
"AtUserIds": [​
"********"​
]​
}​
​
Response parameters​
​
Parameter​
Type​
Sample value​
Description​
StatusCode​
Integer​
200​
HTTP status code.​
ErrorMessage​
String​
timeout​
Error messages in response to HTTP requests.​
WeComCode​
Integer​
9499​
The status code returned after the WeCom bot sends a message.​
WeComMessage​
String​
Bad Request​
The message returned after the WeCom bot sends a message.​
​
Sample responses​
​
HTTP/1.1: 200 OK​
Content-Type: application/json​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "TestWeComBotWebhook",​
"Version": "2021-03-03",​
"Service": "vmp",​
"Region": "cn-beijing"​
},​
"Result": {​
"StatusCode": 200,​
"ErrorMessage": "timeout",​
"WeComCode": 9499,​
"WeComMessage": "Bad Request"​
}​
}​
​
Error codes​
The error codes for current API only are listed in the table below. See Public error codes to view error codes for any APIs.​
​
HTTP status codes​
Error codes​
Error message​
Description​
400​
InvalidParameter.{{parameter}}​
The specified parameter {{parameter}} is invalid.​
The specified parameter is invalid.​
400​
MissingParameter.{{parameter}}​
The required parameter {{parameter}} is missing.​
Missing required parameters.​
403​
ProductUnsubscribed​
You are not subscribed to VMP. Please go to the VMP console web page to subscribe to the service​
The account is not subscribed to the VMP service.​
​
​
Last updated: 2026.07.10 11:37:27