更新webhook端点

更新webhook端点,如url、事件、状态。

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

webhook端点的ID。

Body Params
string
length ≤ 500

Webhook端点的URL。

enabledEvents
array of objects

为此端点启用的事件列表。

enabledEvents
eventProperties
array of objects

Webhook载荷中事件属性的可选配置。指定特定事件类型应包含哪些属性。
enabledEvents包含contact.attributes_changed时,此字段是必需的,并且必须包含该事件类型的至少一个事件属性配置。

eventProperties
string
length ≤ 400

Webhook用途的可选描述。

string
enum

Webhook端点状态。

  • active: 表示webhook端点处于活动状态,将接收被监控事件的通知。
  • disabled: 表示webhook端点被禁用,不会接收通知。
  • pending: 表示webhook端点处于待处理状态,不会接收通知。如果webhook端点频繁接收通知失败,它会变为待处理状态。
Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json