feat(webhooks): align account payloads
This commit is contained in:
@@ -554,6 +554,7 @@ func registerV1Routes(g *gin.RouterGroup, h *Handlers) {
|
||||
g.POST("/accounts/:account_id/webhooks", h.WebhookSubscription.Create)
|
||||
g.GET("/accounts/:account_id/webhooks/:webhook_id", h.WebhookSubscription.Get)
|
||||
g.PUT("/accounts/:account_id/webhooks/:webhook_id", h.WebhookSubscription.Update)
|
||||
g.PATCH("/accounts/:account_id/webhooks/:webhook_id", h.WebhookSubscription.Update)
|
||||
g.DELETE("/accounts/:account_id/webhooks/:webhook_id", h.WebhookSubscription.Delete)
|
||||
|
||||
// Account routes — scoped with AccountScope middleware (ref: Chatwoot namespace :accounts)
|
||||
|
||||
Reference in New Issue
Block a user