强大的 Webhook 集成

将您的应用程序事件转化为即时警报。回声铃的 Webhook 系统支持 GET 和 POST 请求,具有灵活的数据处理能力。

How It Works

Webhook 触发器的工作原理

每个频道都有一个唯一的 Webhook URL。当您的应用程序向此 URL 发送数据时,回声铃会处理负载并向所有订阅者发送通知。

1

获取您的 Webhook URL

从频道设置中复制唯一的 Webhook URL。

2

发送 HTTP 请求

从您的应用程序发送 GET 或 POST 请求以触发通知。

3

使用变量自定义

在模板中使用变量创建动态通知内容。

Code Examples

集成示例

了解如何将回声铃 Webhook 与热门服务和应用程序集成。

GET Request

GET https://hook.echobell.one/t/xxx
?amount=100&status=success

POST Request

POST https://hook.echobell.one/t/xxx
Content-Type: application/json

{
  "amount": 100,
  "status": "success"
}

Dynamic Content

Webhook 变量

通过模板变量访问请求数据,如 {{amount}}、{{status}} 或 {{header["content-type"]}}。

Template Example

Server {{server_name}} alert: {{message}}

This template will use the server_name and message variables from your webhook data.

Result

Server web-01 alert: High CPU usage detected

The final notification sent to all subscribers of this channel.

准备好不再错过任何警报了吗?

下载回声铃 App,几分钟内即可设置您的第一个通知频道。

App Store