Add a webhook
add_webhookRegister an HTTPS URL to receive event notifications, such as new messages. Get a one-time signing secret to verify payloads; requires a paid plan.
Instructions
Register a URL to receive events, for example every new message. Returns a signing secret once; store it, because it is never shown again. Needs a paid plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS address that will receive the events. | |
| events | Yes | Event names to subscribe to. | |
| website_id | No | Numeric id of the website, from list_websites. Omit to use the account's primary website. |