mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2025-12-08 13:49:37 +00:00
29 lines
698 B
YAML
29 lines
698 B
YAML
type: object
|
|
properties:
|
|
url:
|
|
type: string
|
|
description: The url where the events should be sent
|
|
example: https://example.com/webhook
|
|
name:
|
|
type: string
|
|
description: The name of the webhook
|
|
subscriptions:
|
|
type: array
|
|
items:
|
|
type: string
|
|
enum:
|
|
[
|
|
'conversation_created',
|
|
'conversation_status_changed',
|
|
'conversation_updated',
|
|
'message_created',
|
|
'message_updated',
|
|
'contact_created',
|
|
'contact_updated',
|
|
'webwidget_triggered',
|
|
]
|
|
description: The events you want to subscribe to.
|
|
example:
|
|
- conversation_created
|
|
- conversation_status_changed
|