Skip to main content
POST
注册 Webhook

注册 Webhook

为可用的 action 之一注册一个新的 Webhook。 Webhook 可为 Primary Profile 或 User Profile 注册。 你也可以在 Ayrshare 控制台的 Webhooks 页面注册 webhook。

Header 参数

Body 参数

string
必填
可用的 action:feed、social、scheduled、batch、messages、mentions、comments、automations、suspended
string
必填
在 action 发生时要调用的 URL。URL 必须为有效格式,并以 https:// 开头。该 URL 必须可以从公共互联网访问。指向 localhost、私有网络地址(例如 192.168.x.x 或 10.x.x.x)或其他内部地址的 URL 会返回错误 101。
string
用于 HMAC 的密钥文本。更多细节请参阅概览。