Skip to main content

Interface: MessageButtonWebhook

Per-button webhook target. Valid on remote buttons only — on any other type the backend rejects the message with 422. Settable through the REST API only (buttons put up over the socket cannot carry one); it comes back in API responses but is stripped before the button reaches the chat participants, and the tenant-level WebhookSettings.disabled switch does not silence it.

Properties​

mode?​

optional mode?: MessageButtonWebhookMode

replace (default) — this URL takes the place of the chat/tenant webhook for presses of this button; additional — the press goes to both.


url​

url: string

Where a press is delivered. Max 2048 chars.