API for sending Wechat notifications using Uninotify service.
Content-Type: application/json
Authorization: Bearer {apiKey}
The request body must be a JSON object containing the following fields:
Field | Type | Description |
---|---|---|
platform | string | Optional. The platform being used. Defaults to iyuu . |
apiToken | string | Optional. The API token being used. Defaults to environment variable. |
title | string | Optional. The title of the notification. Defaults to Server Notify . |
content | string | Optional. The content of the notification. Defaults to This is a default message, please check your server status. . |
curl -X POST --location "https://notify.waynecommand.com/wechat" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer apikey" \ -d '{ "platform": "", "apiToken": "", "title": "This is a new message", "content": "This is the message content" }'