chore: Update the documentation for configuring webhooks in the account (#4703)
This commit is contained in:
24
swagger/definitions/resource/webhook.yml
Normal file
24
swagger/definitions/resource/webhook.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: number
|
||||
description: The ID of the webhook
|
||||
url:
|
||||
type: string
|
||||
description: The url to which the events will be send
|
||||
subscriptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
enum: [
|
||||
"conversation_created",
|
||||
"conversation_status_changed",
|
||||
"conversation_updated",
|
||||
"message_created",
|
||||
"message_updated",
|
||||
"webwidget_triggered"
|
||||
]
|
||||
description: The list of subscribed events
|
||||
account_id:
|
||||
type: number
|
||||
description: The id of the account which the webhook object belongs to
|
||||
Reference in New Issue
Block a user